Hans-Peter Nilsson
ede76260a7
* nm.c (filter_symbols): Only call memcpy when from != to.
2008-11-13 10:57:00 +00:00
Joel Brobecker
c31ad2a1f7
* ia64-tdep.c: Remove commented out #define.
2008-11-13 05:05:07 +00:00
Hans-Peter Nilsson
5726889422
PR ld/7028
...
* elf.c (assign_file_positions_for_load_sections): Allocate phrds
with bfd_zalloc2 instead of bfd_alloc2. For the amount, use
the possibly-preset header-size, not the computed one.
2008-11-13 03:01:15 +00:00
Joel Brobecker
84290f2fa2
* remote-sim.c (gdbsim_mourn_inferior): Use "target" parameter
...
instead of the "gdbsim_ops" global.
2008-11-13 01:26:44 +00:00
Alan Modra
2a8a6bf5ce
daily update
2008-11-13 00:00:05 +00:00
gdbadmin
8fa5deb69e
*** empty log message ***
2008-11-13 00:00:03 +00:00
Joel Sherrill
6878aceba2
2008-11-12 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* aclocal.m4: Fix underquoting of function names.
2008-11-12 22:05:18 +00:00
Alan Modra
3337c1e561
PR 7023
...
* elf.c (bfd_section_from_shdr <SHT_SYMTAB>): Fail on invalid sh_info.
2008-11-12 22:04:04 +00:00
Tristan Gingold
09c6f846b6
2008-11-12 Tristan Gingold <gingold@adacore.com>
...
* bfd.c (bfd_get_sign_extend_vma): Return 0 for mach-o.
2008-11-12 10:27:57 +00:00
Hans-Peter Nilsson
bfa1b75ccc
* config/tc-cris.c (cris_number_to_imm): Except for
...
BFD_RELOC_NONE, always set contents. Where previously this was
skipped, set contents to 0.
2008-11-12 03:09:31 +00:00
Hans-Peter Nilsson
cb26feec3e
PR gas/7025
...
* input-scrub.c (input_scrub_include_sb): Make the position
after the input have defined contents, a 0 character.
2008-11-12 02:42:46 +00:00
Hans-Peter Nilsson
00be4d3aff
* gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,
...
gas/cris/rd-bcnst2.s: New tests.
2008-11-12 02:36:55 +00:00
Hans-Peter Nilsson
f6ce267ce1
* config/tc-cris.c (cris_relax_frag): Add missing case for
...
ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
2008-11-12 02:35:28 +00:00
Hans-Peter Nilsson
edba0af5cc
PR gas/7020
...
* read.c (read_a_source_file): Rearrange evaluation order when
looking for '=' to avoid conditional on undefined contents of
input_line_pointer[1].
2008-11-12 02:04:39 +00:00
Hans-Peter Nilsson
18d7868b1b
* read.c (read_a_source_file): Rearrange evaluation order when
...
looking for '=' to avoid conditional on undefined contents of
input_line_pointer[1].
2008-11-12 01:41:12 +00:00
Doug Evans
de04a24895
* infcall.c (call_function_by_hand): Handle inferior exit.
...
* gdb.base/callexit.exp: New file.
* gdb.base/callexit.c: New file.
2008-11-12 00:39:28 +00:00
gdbadmin
6da1d149f3
*** empty log message ***
2008-11-12 00:00:33 +00:00
Alan Modra
48339654f1
daily update
2008-11-11 23:58:59 +00:00
Joel Sherrill
d68c23cd04
2008-11-10 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* erc32.c, exec.c: Fix warnings.
2008-11-11 22:20:54 +00:00
Thiago Jung Bauermann
3c8b2edaed
* remote-sim.c (gdbsim_create_inferior, gdbsim_mourn_inferior): Add
...
missing struct target_ops argument.
2008-11-11 22:07:40 +00:00
Joel Sherrill
f5d9a29225
2008-11-11 Joel Sherrill <joel.sherrilL@oarcorp.com>
...
* MAINTAINERS: Add myself for write after approval privileges.
2008-11-11 22:05:45 +00:00
Alan Modra
b84a33b5df
* elf.c (assign_file_positions_for_non_load_sections): Consolidate
...
PT_GNU_RELRO handling.
2008-11-11 04:26:13 +00:00
Doug Evans
6b8ce72729
* lib/gdb.exp (GDBFLAGS): Move -nx ...
...
(INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
(default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
(default_gdb_start,default_gdb_exit): Ditto.
* lib/mi-support.exp (default_mi_gdb_start): Ditto.
(mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
* gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
* gdb.base/dbx.exp (dbx_gdb_start): Ditto.
* gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
* gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
2008-11-11 01:23:34 +00:00
gdbadmin
7bae733213
*** empty log message ***
2008-11-11 00:00:03 +00:00
Alan Modra
23c796f552
daily update
2008-11-10 23:59:04 +00:00
Alan Modra
5d0900ebc7
PR 7012
...
* dwarf2.c (find_line): Don't keep stale pointers into realloc'd
memory. Return on errors. Fix memory leak.
(_bfd_dwarf2_cleanup_debug_info): Free dwarf_str_buffer.
2008-11-10 23:39:19 +00:00
Andreas Schwab
129af99fb5
PR 7011
...
* elf.c (assign_file_positions_for_non_load_sections): Handle
PT_GNU_RELRO specially.
2008-11-10 22:47:58 +00:00
Tom Tromey
de8ee0e21e
* gdbtypes.c (copy_type_recursive): Clear new fields.
2008-11-10 20:53:43 +00:00
Tom Tromey
b03a6ea40e
* cli/cli-cmds.c (source_script): Clean up full_pathname. Run
...
cleanups on early return.
2008-11-10 20:38:24 +00:00
Alan Modra
17ceb93675
* objdump.c (disassemble_bytes): Don't skip leading zeros when
...
end of section calculation overflows.
2008-11-10 08:45:13 +00:00
gdbadmin
4c7e1c6805
*** empty log message ***
2008-11-10 00:00:33 +00:00
Alan Modra
837e8dbd6f
daily update
2008-11-09 23:59:09 +00:00
Vladimir Prus
136d6dae62
Kill pthread_ops_hack
...
* target.h (struct target_ops): Make to_attach, to_detach,
to_create_inferior and to_mourn_inferior accept a pointer
to struct target_ops.
(target_attach, target_create_inferior, target_create_inferior):
Convert from macros to function. Find the right target to
invoke a method of.
(find_default_attach, find_default_create_inferior): New parameter
ops.
* corefile.c (core_file_command): Pass target to to_detach.
* corelow.c (core_detach): Add 'ops' parameter.
* fork-child.c (fork_inferior): Return the pid. Allow
init_trace_fun to be NULL.
* inf-ptrace (ptrace_ops_hack): Remove.
(inf_ptrace_him): Remove, moving all logic into....
(inf_ptrace_create_inferior): ... here. Push the target
passed as parameter.
(inf_ptrace_mourn_inferior, inf_ptrace_attach, inf_ptrace_detach):
Push/pop target passed as parameter, no ptrace_ops_hack.
(inf_ptrace_target): Don't remember result.
* inferior.h (fork_inferior): Adjust prototype.
* linux-nat.c (linux_nat_create_inferior, linux_nat_attach)
(linux_nat_detach, linux_nat_mourn_inferior): New parameter ops.
Pass it to linux_ops target.
* linux-thread-db.c (thread_db_detach, thread_db_mourn_inferior):
New parameter ops. Pass it to the target beneath.
* remote.c (remote_mourn, extended_remote_mourn, remote_detach)
(extended_remote_create_inferior): New parameter ops. Pass it
further.
* target.c (debug_to_attach, debug_to_detach)
(debug_to_mourn_inferior): New parameter ops.
(target_create_inferior): New.
(update_current_target): Do not inherit to_attach, to_detach,
to_create_inferiour, to_mourn_inferior. Do not default
to_detach and to_mourn_inferior.
(target_detach): Find the right target to use.
(target_mourn_inferior): New.
(find_default_attach, find_default_create_inferior): New parameter
ops. Pass the found target when calling its method.
(init_dummy_target): Provide fallback definition of to_detach.
(target_attach): New.
(debug_to_attach, debug_to_detach, debug_to_create_inferior)
(debug_to_mourn_inferiour): New parameter ops.
* aix-thread.c: Adjust.
* bsd-uthread.c: Adjust.
* gnu-nat.c: Adjust.
* go32-nat.c: Adjust.
* hpux-thread.c: Adjust.
* inf-ttrace.c: Ajust.
* monitor.c: Adjust.
* nto-procfs.c: Adjust.
* procfs.c: Adjust.
* remote-m32r-sdi.c: Adjust.
* remote-mips.c: Adjust.
* remote-sim.c: Adjust.
* rs6000-nat.c: Adjust.
* sol-thread.c: Adjust.
* win32-nat.c: Adjust.
* dec-thread.c: Adjust.
2008-11-09 11:27:18 +00:00
Vladimir Prus
ed40653276
* thread.c (print_thread_info): Eliminate now useless checks
...
for exited threads.
2008-11-09 07:54:27 +00:00
gdbadmin
5e87ae0509
*** empty log message ***
2008-11-09 00:00:03 +00:00
Alan Modra
81b317983f
daily update
2008-11-08 23:59:14 +00:00
Eli Zaretskii
c2f20dd677
(coff_symtab_read): Fix a typo in a comment.
2008-11-08 09:38:06 +00:00
gdbadmin
16e4615452
*** empty log message ***
2008-11-08 00:00:02 +00:00
Alan Modra
58fadbce8c
daily update
2008-11-07 23:59:19 +00:00
Doug Evans
9b7d901949
fix typo in date
2008-11-07 21:05:27 +00:00
Nick Clifton
db448d506a
* MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.
2008-11-07 14:27:05 +00:00
gdbadmin
87181818e5
*** empty log message ***
2008-11-07 00:00:34 +00:00
Alan Modra
ea397ae880
daily update
2008-11-06 23:59:25 +00:00
Adam Nemet
a242dc0d23
* config/tc-mips.c (COP_INSN): Change logic to always return false
...
for FP instructions.
testsuite/
* gas/mips/mips1-fp.s, testsuite/gas/mips/mips1-fp.d,
testsuite/gas/mips/mips1-fp.l: New tests.
* gas/mips/mips.exp: Run them.
2008-11-06 19:49:26 +00:00
Chao-ying Fu
5fb8dac153
2008-11-06 Chao-ying Fu <fu@mips.com>
...
* gas/mips/mips32-sync.d, gas/mip/mips32-sync.s: New tests.
* gas/mips/mips.exp: Run them.
2008-11-06 19:43:00 +00:00
Chao-ying Fu
4dc48ef654
2008-11-06 Chao-ying Fu <fu@mips.com>
...
* mips-opc.c (synciobdma, syncs, syncw, syncws): Move these
before sync.
(sync): New instruction with 5-bit sync type.
* mips-dis.c (print_insn_args: Add case '1' to print 5-bit values.
2008-11-06 19:40:10 +00:00
Chao-ying Fu
620edafdb9
2008-11-06 Chao-ying Fu <fu@mips.com>
...
* config/tc-mips.c (validate_mips_insn): Add case '1'.
(mips_ip): Add case '1' to process sync type.
2008-11-06 19:36:38 +00:00
Chao-ying Fu
de9a3e5195
2008-11-06 Chao-ying Fu <fu@mips.com>
...
* mips.h: Doucument '1' for 5-bit sync type.
2008-11-06 19:32:42 +00:00
Pedro Alves
48fb2d97d4
* i386-dicos-tdep.c (i386_dicos_init_abi): Set decr_pc_after_break
...
to 0.
2008-11-06 16:44:45 +00:00
Nick Clifton
8a2a2dbb65
Add m32c-*-rtems* and m32r-*-rtems* configuration targets.
2008-11-06 15:36:38 +00:00