Iain Sandoe
e1e81ed3c3
add LOCAL SECDIFF relocation for m32 mach-o
...
bfd:
* reloc.c (BFD_RELOC_MACH_O_LOCAL_SECTDIFF):
* libbfd.h: Regenerated.
* bfd-in2.h: Likewise.
* mach-o-i386.c (i386_howto_table): Include local sectdiff.
(bfd_mach_o_i386_swap_reloc_in): Update for local sectdiff.
(bfd_mach_o_i386_swap_reloc_out): Likewise.
2012-02-17 10:57:33 +00:00
Thomas Schwinge
ca193e2779
* sh-tdep.c (sh_is_renesas_calling_convention): Fix handling of
...
TYPE_CALLING_CONVENTION annotation.
2012-02-17 08:39:57 +00:00
Andreas Krebbel
d0ddfe2750
2012-02-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
...
* elf32-s390.c (elf_s390_relocate_section): Support basr in the
GD->LE and LD->LE optimizations.
2012-02-17 08:38:06 +00:00
gdbadmin
980bb25303
*** empty log message ***
2012-02-17 00:00:34 +00:00
Kevin Buettner
e558618318
* MAINTAINERS: Add rx to target ISA section.
...
* Makefile.in (ALL_TARGET_OBS): Add rx-tdep.o.
(ALLDEPFILES): Add rx-tdep.c.
2012-02-16 23:39:37 +00:00
Kevin Buettner
f95586a44d
Update sim_fetch_register, sim_store_register for sh and mn10300.
...
Fix compile warnings for sh built on 64-bit hosts.
2012-02-16 23:17:27 +00:00
Tom Tromey
7dcd53a074
* symfile.c (symbol_file_add_main_1): Use inferior's
...
symfile_flags.
* solib.c (solib_read_symbols): Use inferior's symfile_flags.
* linux-nat.c (linux_child_follow_fork): Set symfile_flags on
inferior.
* infrun.c (handle_vfork_child_exec_or_exit): Set symfile_flags on
inferior.
(follow_exec): Use inferior's symfile_flags.
* inferior.h (struct inferior) <symfile_flags>: New field.
2012-02-16 21:07:20 +00:00
Cary Coutant
7b5de7eeac
* testsuite/Makefile.am (initpri2): Add --ctors-in-init-array option.
...
* testsuite/Makefile.in: Regenerate.
2012-02-16 19:37:34 +00:00
Mike Frysinger
ddd60447d5
gdb: sim: check return value of sim_create_inferior
...
The current gdbsim_create_inferior func doesn't check the return value
of sim_create_inferior which can be problematic when that func doesn't
return success. So, if it fails, call error() and be done.
Reported-by: Richard Stuckey <richard.stuckey@arc.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-02-16 18:30:43 +00:00
Tristan Gingold
b0d32fb61e
2012-02-16 Josh Matthews <josh@joshmatthews.net>
...
* machoread.c: Initialize nbr_syms to avoid warnings-as-errors failure.
2012-02-16 14:57:02 +00:00
Tom Tromey
32d22ab151
* gdb.base/inferior-died.c: Don't include stdio.h.
2012-02-16 14:42:51 +00:00
Tom Tromey
9addecb9fb
PR c++/13653:
...
* thread.c (struct current_thread_cleanup) <was_removable>: New
field.
(do_restore_current_thread_cleanup): Restore 'removable' field.
(restore_current_thread_cleanup_dtor): Likewise.
(make_cleanup_restore_current_thread): Initialize new field.
testsuite/gdb
* gdb.base/inferior-died.c: New file.
* gdb.base/inferior-died.exp: New file.
2012-02-16 14:35:00 +00:00
Yao Qi
bf4c19f73e
gdb/gdbserver/
...
* inferiors.c: Move code to ...
* dll.c: .... here. New.
* server.h: Declare clear_dlls.
* Makefile.in (SFILES): Add dll.c.
(OBS): Add dll.o
(dll.o): New rule.
2012-02-16 10:38:15 +00:00
Alan Modra
eb8c5f3f23
PR binutils/13355
...
* elf32-rx.c (elf32_rx_relax_section): Correct width check.
2012-02-16 07:40:23 +00:00
gdbadmin
ae70babc04
*** empty log message ***
2012-02-16 00:00:35 +00:00
Alan Modra
997a393839
daily update
2012-02-15 23:00:07 +00:00
Kevin Buettner
a58b110ab4
* MAINTAINERS: Add rl78 to target ISA section.
...
* Makefile.in (ALL_TARGET_OBS): Add rl78-tdep.o.
(ALLDEPFILES): Add rl78-tdep.c.
* NEWS: Mention rl78 as a new target.
2012-02-15 22:17:02 +00:00
Aleksandar Ristovski
4cb6da1cdd
* frame.c (find_frame_sal): Initialize sal->pspace field from frame
...
data.
* stack.c (set_last_displayed_sal): Validate that PSPACE is not NULL.
testuite:
* gdb.base/break-inline.exp: New file.
* gdb.base/break-inline.c: New file.
2012-02-15 19:27:59 +00:00
Tom Tromey
3af2590d3e
PR gdb/12659:
...
* infcmd.c (registers_info): Print just the current register's
name.
gdb/testsuite
* gdb.base/pc-fp.exp: Add "info register" tests.
2012-02-15 19:13:14 +00:00
Tom Tromey
29988831db
* gdb.base/regs.exp: Remove.
2012-02-15 18:49:27 +00:00
Cary Coutant
74bc605283
* dwarf.c (dwarf_vmatoa64): New function.
...
(read_and_display_attr_value): Print 8-byte forms as single hex
numbers.
(process_debug_info): Print type signatures as single hex numbers.
* elfcomm.c (byte_get_64): New function.
* elfcomm.h (byte_get_64): New function.
2012-02-15 18:32:30 +00:00
Pedro Alves
10010058f2
2012-02-15 Pedro Alves <palves@redhat.com>
...
* gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
the target doesn't support tracepoints.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/collection.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/passc-dyn.exp: Ditto.
* gdb.trace/report.exp: Ditto.
* gdb.trace/tfind.exp: Ditto.
* gdb.trace/tspeed.exp: Ditto.
* gdb.trace/tsv.exp: Ditto.
* gdb.trace/unavailable.exp: Ditto.
* gdb.trace/while-dyn.exp: Ditto.
2012-02-15 18:09:20 +00:00
Tom Tromey
c691065997
* python/py-symbol.c (sympy_value): Use _().
2012-02-15 17:51:04 +00:00
Pedro Alves
a2e0062d4b
2012-02-15 Pedro Alves <palves@redhat.com>
...
* gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
gdb_test_multiple, and call unsupported instead of fail, if the
remote side does not support the request.
2012-02-15 17:20:07 +00:00
Pedro Alves
a1999d4022
2012-02-15 Pedro Alves <palves@redhat.com>
...
* gdb.server/ext-attach.exp: Make sure gdb is disconnected.
* gdb.server/ext-run.exp: Make sure gdb is disconnected.
* gdb.server/file-transfer.exp: Make sure gdb is disconnected.
* gdb.server/server-mon.exp: Make sure gdb is disconnected.
* gdb.server/server-run.exp: Make sure gdb is disconnected.
* lib/gdbserver-support.exp (gdbserver_start_extended): Only
prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
doesn't start with "extended-" already.
2012-02-15 12:51:17 +00:00
Pedro Alves
7cee1e5405
gdb/
...
2012-02-15 Pedro Alves <palves@redhat.com>
* remote.c (remote_detach_1, extended_remote_attach_1): Tweak
output to be like native targets'.
(remote_pid_to_str): Special case the null ptid.
gdb/testsuite/
2012-02-15 Pedro Alves <palves@redhat.com>
Support extended-remote. Avoid cascading timeouts.
* gdb.base/attach.exp (do_attach_tests): Add expected output for
the extended-remote target. If attaching with no file fails, load
the file manually.
* gdb.server/ext-attach.exp: Adjust expected attach/detach output.
2012-02-15 12:48:55 +00:00
Cary Coutant
f9fa4a6341
* options.cc (General_options::finalize): Disallow -pie and -static.
2012-02-15 00:56:16 +00:00
gdbadmin
9ad44fdb9d
*** empty log message ***
2012-02-15 00:00:33 +00:00
Stan Shebs
816338b563
2012-02-14 Stan Shebs <stan@codesourcery.com>
...
* NEWS: Mention enable count command.
* breakpoint.h (struct breakpoint): New field enable_count.
* breakpoint.c (enable_breakpoint_disp): Add count argument.
(enable_breakpoint): Add arg to call.
(struct disp_data): New struct.
(do_enable_breakpoint_disp): Interp arg as disp_data and unpack.
(do_map_enable_once_breakpoint): Create a struct and pass it.
(do_map_enable_delete_breakpoint): Ditto.
(do_map_enable_count_breakpoint): New function.
(enable_count_command): New function.
(bpstat_stop_status): Decrement enable_count.
(print_one_breakpoint_location): Report enable count.
(_initialize_breakpoint): Add enable count command.
* gdb.texinfo (Disabling Breakpoints): Document enable count.
* gdb.base/ena-dis-br.exp: Add enable count test.
2012-02-14 23:28:15 +00:00
Alan Modra
9395078e8d
daily update
2012-02-14 23:00:05 +00:00
Richard Henderson
3035ca03e8
PR ld/13621
...
* ld-elf/zerosize1.d, ld-elf/zerosize1.s: New test.
2012-02-14 20:43:26 +00:00
Kevin Buettner
c47a44f4a8
rl78-tdep.c: Rearrange order in which registers are displayed.
2012-02-14 20:15:44 +00:00
Kevin Buettner
e4569f1e25
* rl78-tdep.c (rl78_skip_prologue): Make `const' the type of
...
the name parameter being passed to find_pc_partial_function().
2012-02-14 20:07:26 +00:00
Jan Kratochvil
7a05aae796
gdb/
...
* MAINTAINERS: Step down from being ia64 target maintainer.
2012-02-14 14:42:12 +00:00
Alan Modra
3140414bd2
* binutils-all/dlltool.exp: Add setup_xfail.
2012-02-14 02:40:39 +00:00
Alan Modra
1d2b8df224
Regenerate
2012-02-14 01:25:47 +00:00
Alan Modra
6ae3e978c3
Regenerate.
2012-02-14 01:24:35 +00:00
Alan Modra
32d79e6818
* ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux.
...
* ld-elf/pr11304a.s: Always have whitespace before directives.
* ld-elf/pr11304b.s: Likewise.
* ld-selective/selective.exp: Test m68hc1* variant of m6811, m6812.
* lib/ld-lib.exp: Likewise, and vice versa.
2012-02-14 01:02:04 +00:00
Alan Modra
516e75beac
* gas/elf/bad-group.s: Add section attributes.
...
* gas/elf/elf.exp (groupautoa, groupautob): Don't run for hppa64-hpux.
(ifunc-1, type): Don't run for hpux.
* gas/elf/type-noifunc.e: Accept ANSI_COM.
* gas/elf/section7.s: Always have whitespace before directives.
* gas/elf/warn-2.s: Likewise.
* gas/i386/ifunc-3.s: Move .size directive.
2012-02-14 01:01:30 +00:00
Alan Modra
71ac97b253
* binutils-all/dw2-decodedline.S: Always have whitespace before
...
directives.
* binutils-all/version.s: Likewise.
* binutils-all/objdump.exp (dw2-decodedline): Don't run for
hppa64*-*-hpux*, i370-*-*, i960-*-*.
2012-02-14 01:00:50 +00:00
gdbadmin
0dd6b7d310
*** empty log message ***
2012-02-14 00:00:03 +00:00
Alan Modra
662f60d3a0
daily update
2012-02-13 23:00:05 +00:00
Kai Tietz
d0ac693824
* deffilep.y (find_export_in_list): Set is_indent for
...
first or last element, if identical.
(find_import_in_list): Likewise.
2012-02-13 20:42:07 +00:00
Pedro Alves
cc30c4bd19
gdb/doc/
...
2012-02-13 Pedro Alves <palves@redhat.com>
* gdb.texinfo (MIPS boards): Refer to mips-elf instead of
mips-idt-ecoff.
gdb/testsuite/
2012-02-13 Pedro Alves <palves@redhat.com>
* config/mips-idt.exp: Delete.
* gdb.base/a2-run.exp: Remove mips-idt xfails.
* gdb.base/bitfields.exp: Remove mips-idt restarts.
* gdb.base/break.exp: Remove mips-idt references.
* gdb.base/chng-syms.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/funcargs.exp (funcargs_reload): Delete.
(top level): Don't call it.
* gdb.base/opaque.exp: Remove mips-idt restarts.
* gdb.base/ptype.exp: Remove mips-idt xfails.
* gdb.base/scope.exp: Remove mips-idt restarts.
* gdb.base/sepdebug.exp: Remove mips-idt references.
* gdb.base/watchpoint.exp (maybe_clean_restart)
(maybe_reinitialize): Delete.
(test_disabling_watchpoints, test_disabling_watchpoints)
(test_watchpoint_triggered_in_syscall)
(test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
Don't call them.
2012-02-13 18:09:59 +00:00
Richard Henderson
e1741a1ed1
PR ld/13621
...
bfd/
* linker.c (fix_syms): Force symbols outside any section into
bfd_abs_section_ptr.
ld/testsuite/
* ld-elf/warn2.d: Expect ABS section for Foo.
* ld-elf/zerosize1.d, zerosize1.s: New test.
2012-02-13 18:08:51 +00:00
Alan Modra
cec7aa6aca
revert premature delta
2012-02-13 04:10:56 +00:00
Alan Modra
fae5f26d81
* ld-m68hc11/m68hc11.exp: Run for m68hc11-*-* and m68hc12-*-*.
...
* ld-m68hc11/adj-brset.d: Remove redundant #target line. Add
-m m68hc11elf to ld invocation.
* ld-m68hc11/adj-jump.d: Likewise.
* ld-m68hc11/bug-1403.d: Likewise.
* ld-m68hc11/bug-1417.d: Likewise.
* ld-m68hc11/bug-3331.d: Likewise.
* ld-m68hc11/relax-direct.d: Likewise.
* ld-m68hc11/relax-group.d: Likewise.
* ld-m68hc11/far-hc11.d: Remove redundant #target line. Adjust for
changed addresses.
* ld-m68hc11/far-hc12.d: Remove redundant #target line.
* ld-m68hc11/link-hcs12.d: Likewise, and adjust for header changes.
2012-02-13 02:31:53 +00:00
Alan Modra
017761eafe
* gas/all/gas.exp (redef2): xfail m6811 and m6812.
...
* gas/elf/elf.exp: Use is_elf_format.
* gas/symver/symver.exp: Likewise.
* gas/m68hc11/m68hc11.exp: Simplify target test.
Add -m68hc11 to error tests that pass for hc12.
2012-02-13 02:31:18 +00:00
Alan Modra
5efbbc4340
* elf32-m68hc1x.c (elf32_m68hc11_merge_symbol_attribute): New function.
...
* elf32-m68hc1x.h (elf32_m68hc11_merge_symbol_attribute): Declare.
* elf32-m68hc11.c (elf_backend_merge_symbol_attribute): Define.
* elf32-m68hc12.c (elf_backend_merge_symbol_attribute): Define.
2012-02-13 02:29:51 +00:00
gdbadmin
d5ded7aab1
*** empty log message ***
2012-02-13 00:00:34 +00:00