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
Alan Modra
f85c0d490a
daily update
2012-02-12 23:00:07 +00:00
Jan Kratochvil
11fde611c4
gdb/
...
* ppc-linux-nat.c (fetch_register, store_register): Fix GCC aliasing
compilation warning.
2012-02-12 19:25:29 +00:00
Jan Kratochvil
570083757c
gdb/
...
Fix crash on loaded shlibs without loaded exec_bfd.
* exec.c (exec_files_info): Do not crash on NULL EXEC_BFD.
(set_section_command): Replace exec_bfd by p->bfd.
gdb/testsuite/
* gdb.server/server-exec-info.exp: New file.
2012-02-12 19:15:01 +00:00
Iain Sandoe
8e43fc024d
gas:
...
* config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
any local symbol used as an indirect.
2012-02-12 15:47:17 +00:00
gdbadmin
cce17ce070
*** empty log message ***
2012-02-12 00:00:33 +00:00
Alan Modra
ec9d606732
daily update
2012-02-11 23:00:06 +00:00
Kai Tietz
aa83d1ec50
ChangeLog binutils
...
2012-02-11 Kai Tietz <ktietz@redhat.com>
PR binutils/13657
* defparse.y (%union): New type id_const.
(opt_name2): New rule.
(keyword_as_name): New rule.
(opt_name): Adjust rule.
(opt_import_name): Likewise.
(opt_equal_name): Likewise.
ChangeLog binutils/testsuite
2012-02-11 Kai Tietz <ktietz@redhat.com>
* binutils-all/version.def: New file.
* binutils-all/dlltool.exp: Add version-dll test.
ChangeLog ld
2012-02-11 Kai Tietz <ktietz@redhat.com>
* deffilep.y (%union): New type id_const.
(opt_name2): New rule.
(keyword_as_name): New rule.
(dot_name): Replaced by opt_name2 rule.
(opt_name): Adjust rule.
(opt_equal_name): Likewise.
2012-02-11 20:02:03 +00:00
Nick Clifton
98872a7c39
* pe-dll.c (auto_export): Use bsearch to speed up scan of exports
...
table.
(process_def_file_and_drectve): Maintain sorting of exports table
after stripping leading @ signs.
2012-02-11 19:25:12 +00:00
Kai Tietz
7afcdbb2bf
PR binutils/13297
...
* resrc.c (write_rc_dialog_control): Omit text dump for
EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
2012-02-11 15:15:34 +00:00
Kai Tietz
fd08dafa65
* gas/i386/disp32.d: Adjust lable-pattern.
2012-02-11 15:12:56 +00:00
Jan Kratochvil
3e3c397d77
bfd/
...
* oasys.c (oasys_write_header): Fix compilation warning on zero-sized
memset.
2012-02-11 15:10:12 +00:00
Yao Qi
d73f2619de
gdb/gdbserver/
...
* server.c: (handle_monitor_command): Add a new parameter
`own_buf'.
(handle_query): Update caller.
2012-02-11 13:36:41 +00:00
gdbadmin
a037eb8401
*** empty log message ***
2012-02-11 00:00:03 +00:00
Alan Modra
19ed63b22f
daily update
2012-02-10 23:00:06 +00:00
Tom Tromey
ff3c9849a7
* linespec.c (decode_line_internal): Skip symtabs_from_filename
...
when we have a C++ qualified name.
2012-02-10 17:31:34 +00:00
Pedro Alves
4a2d9c0801
2012-02-10 Pedro Alves <palves@redhat.com>
...
* gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
always non-empty.
(test_attach): Always pass $exec to test_attach_gdb.
2012-02-10 16:06:50 +00:00
Pedro Alves
db2b9fdd4f
2012-02-10 Pedro Alves <palves@redhat.com>
...
* inferior.c (inferior_pid_to_str): New.
(print_inferior, inferior_command): Use it.
2012-02-10 14:23:52 +00:00
Pedro Alves
12cd34f3ad
2012-02-10 Pedro Alves <palves@redhat.com>
...
* configure.ac (HAVE_ELF test): Put the old CFLAGS at the end of
the test CFLAGS.
* configure: Regenerate.
2012-02-10 13:57:59 +00:00
Jan Kratochvil
e871429d8d
gdb/
...
* linespec.c (decode_line_internal): Fix comment correctness.
2012-02-10 13:27:04 +00:00
Iain Sandoe
fb4914b0e6
gas:
...
* config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
stub size when provided. (obj_mach_o_section): Flag that stub-size
has been provided.
2012-02-10 13:12:55 +00:00
Iain Sandoe
09903f4b53
bfd:
...
* mach-o.c (bfd_mach_o_build_seg_command): Count zerofill section
vma additions in their logical, rather than physical order.
2012-02-10 11:24:44 +00:00
Iain Sandoe
632039e0a8
correct some mach-o section specification nits.
...
bfd:
* mach-o.c (mach_o_section_name_xlat): Correct eh-frame section
parameters.
* mach-o-x86-64.c (text_section_names_xlat): New.
(mach_o_x86_64_segsec_names_xlat): New.
(bfd_mach_o_tgt_seg_table): Define to mach_o_x86_64_segsec_names_xlat.
* mach-o-i386.c (text_section_names_xlat): Correct section parameters.
2012-02-10 11:07:33 +00:00
Tristan Gingold
565a6476ff
2012-02-10 Tristan Gingold <gingold@adacore.com>
...
* elfnn-ia64.c (elfNN_vms_object_p): Change comparison operator
to avoid infinite loop. Add comments.
2012-02-10 10:09:14 +00:00
Yao Qi
035d1e5be6
gdb/doc/
...
* gdb.texinfo (Symbols In Python): Add missing `@end defvar'.
2012-02-10 01:24:58 +00:00
gdbadmin
ab0190c73e
*** empty log message ***
2012-02-10 00:00:03 +00:00
Alan Modra
52c93ca6fa
daily update
2012-02-09 23:00:06 +00:00
H.J. Lu
923f257ffd
Don't use multi byte nop instructions for i386
...
bfd/
2012-02-09 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13675
* cpu-i386.c (bfd_arch_i386_fill): Updated to support multi byte
nop instructions.
(bfd_arch_i386_short_nop_fill): New.
(bfd_arch_i386_long_nop_fill): Likewise.
Use bfd_arch_i386_short_nop_fill in 32bit bfd_arch_info
initializers. Use bfd_arch_i386_long_nop_fill on 64bit
bfd_arch_info initializers.
* cpu-k1om.c (bfd_arch_i386_fill): Renamed to ...
(bfd_arch_i386_short_nop_fill): This.
Update bfd_arch_info initializers.
* cpu-l1om.c: Likewise.
ld/testsuite/
2012-02-09 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13675
* ld-i386/tlsnopic.dd: Update no-op padding.
* ld-i386/tlspic.dd: Likewise.
2012-02-09 22:51:58 +00:00
Joel Brobecker
f8255c2a40
[gdbserver] return ENOSYS if readlink not supported.
...
This reproduces on the GDBserver side what GDB does when readlink is
not supported.
gdb/gdbserver/ChangeLog:
* configure.ac: Add readlink to AC_CHECK_FUNCS list.
* configure, config.in: Regenerate.
* hostio.c: Provide an alternate implementation if HAVE_READLINK
is not defined.
2012-02-09 17:29:34 +00:00
Pedro Alves
1916efaf84
2012-02-09 Valery Khromov <valery.khromov@gmail.com>
...
PR gdb/12953
* Makefile.in (HFILES_NO_SRCDIR): Add amd64bsd-nat.h.
* amd64bsd-nat.c: Add support for debug registers (adapted from
i386bsd-nat.c).
[HAVE_PT_GETDBREGS] (amd64bsd_dr_get, amd64bsd_dr_set)
(amd64bsd_dr_set_control, amd64bsd_dr_set_addr)
(amd64bsd_dr_get_addr, amd64bsd_dr_get_status)
(amd64bsd_dr_get_control): New functions.
* amd64bsd-nat.h: New file (adapted from i386bsd-nat.h).
* amd64fbsd-nat.c: Include "amd64bsd-nat.h", "i386-nat.h".
[HAVE_PT_GETDBREGS] (_initialize_amd64fbsd_nat): Add hardware
watchpoints initialization.
* config/i386/fbsd64.mh (NATDEPFILES): Add i386-nat.o.
2012-02-09 16:06:44 +00:00
Jan Kratochvil
f4859d94a0
gdb/
...
* gdb-gdb.py (StructMainTypePrettyPrinter) <struct_field_img>: Print
flds_bnds.fields.
(StructMainTypePrettyPrinter) <bounds_img>: Print flds_bnds.bounds.
2012-02-09 15:14:46 +00:00