external/binutils.git
12 years agogdb/doc/
Jan Kratochvil [Tue, 7 Aug 2012 16:49:38 +0000 (16:49 +0000)]
gdb/doc/
* gdbint.texinfo (Debugging GDB): In section
'Debugging @value{GDBN} with itself' change .gdbinit for gdb-gdb.gdb.
Mention also gdb-gdb.py.

12 years ago * config/tc-i386.c (lex_got): Provide implementation for PE
Nick Clifton [Tue, 7 Aug 2012 13:47:19 +0000 (13:47 +0000)]
* config/tc-i386.c (lex_got): Provide implementation for PE
format.

* gas/i386/secrel.s: Add test of <symbol>@SECREL32.
* gas/i386/secrel.d: Add expected disassembly.

* scripttempl/pe.sc (R_TLS): Add .tls$AAA and .tls$ZZZ.
* scripttempl/pep.sc (R_TLS): Add .tls$AAA and .tls$ZZZ.

* archive.c (_bfd_delete_archive_data): New function.
* libbfd-in.h (_bfd_delete_archive_data): Declare.
* libbfd.h: Rebuild.
* opncls.c (_bfd_delete_bfd): Call _bfd_delete_archive_data.

12 years agogdb/
Jan Kratochvil [Tue, 7 Aug 2012 13:26:33 +0000 (13:26 +0000)]
gdb/
PR 11804
* defs.h (find_memory_region_ftype): New comment.  New arg modified.
* fbsd-nat.c (fbsd_find_memory_regions): Add the passed modified value.
* gcore.c (gcore_create_callback): New function comment.  Add modified
parameter.  Only write modified regions.  Set SEC_READONLY exactly
according to MODIFIED.
(objfile_find_memory_regions): Ignore separate debug info files.  Ass
the passed modified value to FUNC.
* gnu-nat.c (gnu_find_memory_regions): Add the passed modified value.
* linux-tdep.c (linux_find_memory_regions): Try to reads smaps file
first.  New variables modified and has_anonymous.  Parse the lines of
smaps file.  Add the passed MODIFIED value to FUNC.
* procfs.c (find_memory_regions_callback): Add the passed modified
value.

gdb/testsuite/
PR 11804
* gdb.base/gcore-relro.exp: New file.
* gdb.base/gcore-relro-main.c: New file.
* gdb.base/gcore-relro-lib.c: New file.

12 years ago * layout.cc (Layout::add_target_dynamic_tags): If
Ian Lance Taylor [Tue, 7 Aug 2012 13:24:47 +0000 (13:24 +0000)]
* layout.cc (Layout::add_target_dynamic_tags): If
dynrel_includes_plt but no dyn_rel, emit dynamic reloc tags for
plt_rel.

12 years agogdb/testsuite/
Jan Kratochvil [Tue, 7 Aug 2012 13:13:49 +0000 (13:13 +0000)]
gdb/testsuite/
Do not false FAIL with old GCCs.
* gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
GCC < 4.5 in $no_hw mode.

12 years agoUpdated Ukranian and Japanese translations.
Nick Clifton [Tue, 7 Aug 2012 10:37:31 +0000 (10:37 +0000)]
Updated Ukranian and Japanese translations.

12 years agogdb/testsuite/
Jan Kratochvil [Tue, 7 Aug 2012 05:49:02 +0000 (05:49 +0000)]
gdb/testsuite/
* gdb.base/default.exp (cd): Accept new directory with no arguments.

12 years agogdb/doc:
Yao Qi [Tue, 7 Aug 2012 01:11:02 +0000 (01:11 +0000)]
gdb/doc:
Revert the folloing patch:
2012-08-06  Yao Qi  <yao@codesourcery.com>
* gdb.texinfo (Remote Configuration): Add kindex for 'set
remote hardware-watchpoint-limit' and 'set
remote hardware-breakpoint-limit'.

12 years agodaily update
Alan Modra [Tue, 7 Aug 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Tue, 7 Aug 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * ld-mips-elf/dyn-sec64.ld: Use HIDDEN to define _gp.
Maciej W. Rozycki [Mon, 6 Aug 2012 22:50:07 +0000 (22:50 +0000)]
* ld-mips-elf/dyn-sec64.ld: Use HIDDEN to define _gp.
* ld-mips-elf/eh-frame5.ld: Likewise.
* ld-mips-elf/got-dump-1.ld: Likewise.
* ld-mips-elf/got-dump-2.ld: Likewise.
* ld-mips-elf/got-page-1.ld: Likewise.
* ld-mips-elf/mips-dyn.ld: Likewise.
* ld-mips-elf/mips-lib.ld: Likewise.
* ld-mips-elf/mips16-pic-1.ld: Likewise.
* ld-mips-elf/no-shared-1.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-1.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-3a.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-4b.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-5b.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-6.ld: Likewise.
* ld-mips-elf/reloc-2.ld: Likewise.
* ld-mips-elf/reloc-estimate-1.ld: Likewise.
* ld-mips-elf/stub-dynsym-1.ld: Likewise.
* ld-mips-elf/tls-hidden3.ld: Likewise.
* ld-mips-elf/mips16-pic-2.ad: Update accordingly.
* ld-mips-elf/pic-and-nonpic-3b.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-4b.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-5b.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n32.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n64.ad: Likewise.
* ld-mips-elf/pic-and-nonpic-6-o32.ad: Likewise.
* ld-mips-elf/eh-frame5.d: Likewise.
* ld-mips-elf/tlsdyn-o32-1.d: Likewise.
* ld-mips-elf/tlsdyn-o32-2.d: Likewise.
* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
* ld-mips-elf/tlsdyn-o32.d: Likewise.
* ld-mips-elf/pic-and-nonpic-3a.dd: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.dd: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise.
* ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tlsdyn-o32-1.got: Likewise.
* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
* ld-mips-elf/tlsdyn-o32.got: Likewise.
* ld-mips-elf/tlslib-o32-ver.got: Likewise.
* ld-mips-elf/tlslib-o32.got: Likewise.
* ld-mips-elf/mips16-pic-2.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-1.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-4b.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-5b.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n32.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-6-n64.nd: Likewise.
* ld-mips-elf/pic-and-nonpic-6-o32.nd: Likewise.
* ld-mips-elf/tls-multi-got-1.r: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.rd: Likewise.
* ld-mips-elf/pic-and-nonpic-4b.rd: Likewise.
* ld-mips-elf/mips-elf.exp: Likewise.

12 years ago * ld-mips-elf/gp-hidden.rd: New test.
Maciej W. Rozycki [Mon, 6 Aug 2012 22:45:18 +0000 (22:45 +0000)]
* ld-mips-elf/gp-hidden.rd: New test.
* ld-mips-elf/gp-hidden.sd: New test.
* ld-mips-elf/gp-hidden-lib.rd: New test.
* ld-mips-elf/gp-hidden-ver.rd: New test.
* ld-mips-elf/gp-hidden-64.rd: New test.
* ld-mips-elf/gp-hidden-lib-64.rd: New test.
* ld-mips-elf/gp-hidden-ver-64.rd: New test.
* ld-mips-elf/gp-hidden.s: New test source.
* ld-mips-elf/gp-hidden-lib.s: New test source.
* ld-mips-elf/gp-hidden-ver.s: New test source.
* ld-mips-elf/gp-hidden-ver.ver: New test version script.
* ld-mips-elf/mips-elf.exp: Run the new tests.

12 years ago ld/
Maciej W. Rozycki [Mon, 6 Aug 2012 22:40:36 +0000 (22:40 +0000)]
ld/
* emulparams/elf32bmip.sh: Make _gp hidden.
* emulparams/elf32bmipn32-defs.sh: Likewise.
* emulparams/elf32mipswindiss.sh: Likewise.
* scripttempl/mips.sc: Likewise.

ld/testsuite/
* ld-mips-elf/rel32-o32.d: Adjust section VMAs after the removal
of _gp from the global scope.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.

12 years ago bfd/
Maciej W. Rozycki [Mon, 6 Aug 2012 22:27:52 +0000 (22:27 +0000)]
bfd/
* elflink.c (bfd_elf_record_link_assignment): Remove --defsym
symbols special case.

ld/
* ldexp.h (etree_union): Add defsym member to the assign member
structure.
(exp_assign): Add hidden argument to prototype.
* ldexp.c (exp_fold_tree_1): Use the defsym member to handle
--defsym symbols.
(exp_assop): Add defsym argument, initialize the defsym member
of the assign structure.
(exp_assign): Handle hidden symbols.
(exp_defsym): Update to use the defsym argument to exp_assop.
(exp_provide): Update to handle the defsym argument to exp_assop.
* ldlex.l (HIDDEN): New token.
* ldgram.y (HIDDEN): Likewise.
(assignment, section): Update calls to exp_assign.
* ldctor.c (ldctor_build_sets): Likewise.
* mri.c (mri_format): Likewise.
* ldlang.c (lang_insert_orphan, lang_leave_overlay): Likewise.
(open_input_bfds): Remove --defsym symbols special case.
* emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Update
call to exp_assign.
* emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
* emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
* emultempl/spuelf.em (spu_place_special_section): Likewise.
* emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets):
Likewise.
* ld.texinfo (Assigning Values to Symbols): Add HIDDEN.
(HIDDEN): New subsection.

12 years agogas/testsuite/
Roland McGrath [Mon, 6 Aug 2012 22:08:25 +0000 (22:08 +0000)]
gas/testsuite/
* gas/i386/x86-64-stack.s: Add cases for push segment register.
* gas/i386/x86-64-stack.d: Updated.
* gas/i386/x86-64-stack-suffix.d: Updated.
* gas/i386/x86-64-stack-intel.d: Updated.
* gas/i386/ilp32/x86-64-stack.d: Updated.
* gas/i386/ilp32/x86-64-stack-suffix.d: Updated.
* gas/i386/ilp32/x86-64-stack-intel.d: Updated.

opcodes/
* i386-dis.c (print_insn): Print spaces between multiple excess
prefixes.  Return actual number of excess prefixes consumed,
not always one.

* i386-dis.c (OP_REG): Ignore REX_B for segment register cases.

12 years ago gas/testsuite/
Maciej W. Rozycki [Mon, 6 Aug 2012 21:28:45 +0000 (21:28 +0000)]
gas/testsuite/
* gas/mips/mips.exp: Set has_newabi for all Linux targets.
* gas/mips/cfi-n64-1.d: Adjust for targets that do not infer the
ISA from the ABI.
* gas/mips/elf-rel-got-n32.d: Likewise.
* gas/mips/elf-rel-got-n64.d: Likewise.
* gas/mips/elf-rel-xgot-n32.d: Likewise.
* gas/mips/elf-rel-xgot-n64.d: Likewise.
* gas/mips/elf-rel18.d: Likewise.
* gas/mips/elf-rel28-n32.d: Likewise.
* gas/mips/elf-rel28-n64.d: Likewise.
* gas/mips/jal-newabi.d: Likewise.
* gas/mips/ldstla-n64-shared.d: Likewise.
* gas/mips/ldstla-n64-sym32.d: Likewise.
* gas/mips/ldstla-n64.d: Likewise.
* gas/mips/macro-warn-1-n32.d: Likewise.
* gas/mips/macro-warn-2-n32.d: Likewise.
* gas/mips/n32-consec.d: Likewise.

ld/testsuite/
* ld-mips-elf/mips-elf.exp: Set has_newabi for all Linux targets.
Adjust abi_asflags for targets that do not infer the ISA from the
ABI.
* ld-mips-elf/eh-frame1-n32.d: Adjust for targets that do not
infer the ISA from the ABI.
* ld-mips-elf/eh-frame1-n64.d: Likewise.
* ld-mips-elf/eh-frame2-n32.d: Likewise.
* ld-mips-elf/eh-frame2-n64.d: Likewise.
* ld-mips-elf/elf-rel-got-n32-embed.d: Likewise.
* ld-mips-elf/elf-rel-got-n32.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-embed.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-got-n64.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
* ld-mips-elf/emit-relocs-1.d: Likewise.
* ld-mips-elf/got-page-2.d: Likewise.
* ld-mips-elf/no-shared-1-n32.d: Likewise.
* ld-mips-elf/no-shared-1-n64.d: Likewise.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.
* ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
* ld-mips-elf/relax-jalr-n32.d: Likewise.
* ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
* ld-mips-elf/relax-jalr-n64.d: Likewise.
* ld-mips-elf/reloc-1-n32.d: Likewise.
* ld-mips-elf/reloc-1-n64.d: Likewise.
* ld-mips-elf/textrel-1.d: Likewise.

12 years ago * ld-mips-elf/reloc-1-n32.d: Add -EB to GAS flags.
Maciej W. Rozycki [Mon, 6 Aug 2012 21:18:50 +0000 (21:18 +0000)]
* ld-mips-elf/reloc-1-n32.d: Add -EB to GAS flags.
* ld-mips-elf/mips-elf.exp: Update GAS flags in reloc test 6.

12 years ago gas/testsuite/
Maciej W. Rozycki [Mon, 6 Aug 2012 21:05:54 +0000 (21:05 +0000)]
gas/testsuite/
* gas/mips/mips.exp: Set has_newabi for mips*-sde-elf* too.
* gas/mips/elf-rel-got-n32.s: Adjust padding.
* gas/mips/elf-rel-got-n64.s: Likewise.
* gas/mips/elf-rel23.s: Likewise.
* gas/mips/elf-rel28.s: Likewise.
* gas/mips/n32-consec.s: Likewise.
* gas/mips/elf-rel-xgot-n32.d: Adjust output expected.
* gas/mips/elf-rel-xgot-n64.d: Likewise.
* gas/mips/elf-rel23.d: Likewise.
* gas/mips/elf-rel23a.d: Likewise.
* gas/mips/elf-rel23b.d: Likewise.
* gas/mips/elf-rel28-n32.d: Likewise.

ld/testsuite/
* lib/ld-lib.exp (run_dump_test): Implement the EXTRA_OPTIONS
argument and the "dump" keyword.
* ld-mips-elf/emit-relocs-1a.s: Make section alignment uniform
across targets.
* ld-mips-elf/emit-relocs-1b.s: Likewise.
* ld-mips-elf/jalbal.s: Adjust padding.
* ld-mips-elf/elf-rel-got-n32-embed.d: New test.
* ld-mips-elf/elf-rel-got-n64-embed.d: New test.
* ld-mips-elf/elf-rel-xgot-n32-embed.d: New test.
* ld-mips-elf/elf-rel-xgot-n64-embed.d: New test.
* ld-mips-elf/elf-rel-got-n32.d: Remove -melf32btsmipn32.
* ld-mips-elf/elf-rel-got-n64.d: Remove -melf64btsmip.  Adjust
output.
* ld-mips-elf/elf-rel-got-n64-linux.d: Remove -melf64btsmip.
* ld-mips-elf/elf-rel-xgot-n32.d: Remove -melf32btsmipn32.
Adjust output.
* ld-mips-elf/elf-rel-xgot-n64.d: Remove -melf64btsmip.  Adjust
output.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
* ld-mips-elf/reloc-1-n64.d: Remove -melf64btsmip.
* ld-mips-elf/mips-elf.exp: Set has_newabi for mips*-sde-elf*
too.  Move tool flags from o32_as_flags and o32_ld_flags
variables into abi_asflags and abi_ldflags arrays.  Adjust test
cases run to use them.  Run the new tests.

12 years ago gas/
Maciej W. Rozycki [Mon, 6 Aug 2012 20:33:00 +0000 (20:33 +0000)]
gas/
* config/tc-mips.c (append_insn): Also handle moving delay-slot
instruction across frags for fixed branches.

gas/testsuite/
* gas/mips/branch-swap-2.l: New list test.
* gas/mips/branch-swap-2.s: New test source.
* gas/mips/mips.exp: Run the new test.

12 years agogas/testsuite/
Roland McGrath [Mon, 6 Aug 2012 20:19:34 +0000 (20:19 +0000)]
gas/testsuite/
* gas/i386/x86-64-stack.s: Add cases for push immediate.
* gas/testsuite/gas/i386/ilp32/x86-64-stack-intel.d: Updated.
* gas/testsuite/gas/i386/ilp32/x86-64-stack-suffix.d: Updated.
* gas/testsuite/gas/i386/ilp32/x86-64-stack.d: Updated.
* gas/testsuite/gas/i386/x86-64-stack-intel.d: Updated.
* gas/testsuite/gas/i386/x86-64-stack-suffix.d: Updated.
* gas/testsuite/gas/i386/x86-64-stack.d: Updated.

opcodes/
* i386-dis.c (OP_sI): In b_T_mode and v_mode, REX_W trumps DFLAG.
(putop): For 'T', 'U', and 'V', treat REX_W like DFLAG.
(intel_operand_size): For stack_v_mode, treat REX_W like DFLAG.
(OP_E_register): Likewise.
(OP_REG): For low 8 whole registers, treat REX_W like DFLAG.

12 years agogdb/testsuite/
Jan Kratochvil [Mon, 6 Aug 2012 20:14:11 +0000 (20:14 +0000)]
gdb/testsuite/
* gdb.base/list.exp (test_only_end): New function.
Call it.

12 years ago * dwarf2-frame.c (clear_pointer_cleanup): New function.
Tom Tromey [Mon, 6 Aug 2012 19:20:43 +0000 (19:20 +0000)]
* dwarf2-frame.c (clear_pointer_cleanup): New function.
(dwarf2_frame_cache): Use it.
* frame-unwind.h (frame_sniffer_ftype): Document prologue
cache initialization constraint.

12 years ago PR python/14386:
Tom Tromey [Mon, 6 Aug 2012 18:44:45 +0000 (18:44 +0000)]
PR python/14386:
* varobj.c (update_dynamic_varobj_children): Don't call
PyIter_Check.
gdb/testsuite
* gdb.python/py-mi.exp: Add test for printer whose children
are a list.
* gdb.python/py-prettyprint.c (struct children_as_list): New.
(main): New variable children_as_list.
* gdb.python/py-prettyprint.py (class pp_children_as_list):
New.
(register_pretty_printers): Register new printer.

12 years ago PR cli/14392:
Tom Tromey [Mon, 6 Aug 2012 18:28:15 +0000 (18:28 +0000)]
PR cli/14392:
* cli/cli-cmds.c (list_command): Filter 'sals_end'.

12 years agogdb/
Jan Kratochvil [Mon, 6 Aug 2012 17:13:27 +0000 (17:13 +0000)]
gdb/
2012-08-06  Nathaniel Flath  <flat0103@gmail.com>
* NEWS: New entry for 'cd' default parameters.
* cli/cli-cmds.c (cd_command): Replace error_no_arg by DIR assignment.

gdb/doc/
2012-08-06  Nathaniel Flath  <flat0103@gmail.com>
* gdb.texinfo (Working Directory): Added information about new
default argument for 'cd' command.

12 years agogdb/doc/
Yao Qi [Mon, 6 Aug 2012 14:28:45 +0000 (14:28 +0000)]
gdb/doc/
* gdb.texinfo (Remote Configuration): Add kindex for 'set
remote hardware-watchpoint-limit' and 'set
remote hardware-breakpoint-limit'.

12 years agogdb/doc/
Yao Qi [Mon, 6 Aug 2012 14:21:10 +0000 (14:21 +0000)]
gdb/doc/
Fix PR14371.

* gdb.texinfo (GDB/MI Async Records): Fix the doc for
'=breakpoint-deleted'.

12 years agodaily update
Alan Modra [Mon, 6 Aug 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Mon, 6 Aug 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago bfd/
Maciej W. Rozycki [Sun, 5 Aug 2012 22:45:20 +0000 (22:45 +0000)]
bfd/
* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Don't allocate
PLT slots for local symbols.

ld/testsuite/
* ld-vax-elf: New directory.
* ld-vax-elf/plt-local-lib.dd: New test.
* ld-vax-elf/plt-local-lib.ld: New test linker script.
* ld-vax-elf/plt-local-lib.s: New test source.
* ld-vax-elf/plt-local.dd: New test.
* ld-vax-elf/plt-local.ld: New test linker script.
* ld-vax-elf/plt-local.s: New test source.
* ld-vax-elf/plt-local-hidden-pic.s: New test source.
* ld-vax-elf/plt-local-rehidden-pic.s: New test source.
* ld-vax-elf/vax-elf.exp: New test script.

12 years ago*** empty log message ***
gdbadmin [Sun, 5 Aug 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sun, 5 Aug 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years agodaily update
Alan Modra [Sat, 4 Aug 2012 00:00:04 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Sat, 4 Aug 2012 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * lib/ld-lib.exp (at_least_gcc_version): Accept more version
Maciej W. Rozycki [Fri, 3 Aug 2012 22:28:41 +0000 (22:28 +0000)]
* lib/ld-lib.exp (at_least_gcc_version): Accept more version
number formats; avoid throwing exceptions in any case.

12 years ago * frags.c (frag_grow): Never shrink the obstack size requested
Maciej W. Rozycki [Fri, 3 Aug 2012 22:23:44 +0000 (22:23 +0000)]
* frags.c (frag_grow): Never shrink the obstack size requested
below the default.

12 years ago * elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask
Maciej W. Rozycki [Fri, 3 Aug 2012 22:17:19 +0000 (22:17 +0000)]
* elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask
field initializers throughout.
* elfn32-mips.c (elf_mips16_howto_table_rela): Likewise.

12 years ago bfd/
Maciej W. Rozycki [Fri, 3 Aug 2012 22:14:21 +0000 (22:14 +0000)]
bfd/
* elfxx-mips.c (mips_elf_perform_relocation): Update the
cross-mode jump message.

ld/testsuite/
* ld-mips-elf/mode-change-error-1.d: Update the error message.

12 years ago * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Update the
Maciej W. Rozycki [Fri, 3 Aug 2012 22:09:40 +0000 (22:09 +0000)]
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Update the
comment on DT_MIPS_RLD_MAP.

12 years agogas/testsuite/
Roland McGrath [Fri, 3 Aug 2012 21:45:16 +0000 (21:45 +0000)]
gas/testsuite/
* gas/i386/x86-64-stack.s (try): Also try just rex.W (0x48) prefix.
* gas/testsuite/gas/i386/ilp32/x86-64-stack-intel.d: Updated.
* gas/testsuite/gas/i386/ilp32/x86-64-stack-suffix.d: Updated.
* gas/testsuite/gas/i386/ilp32/x86-64-stack.d: Updated.
* gas/testsuite/gas/i386/x86-64-stack-intel.d: Updated.
* gas/testsuite/gas/i386/x86-64-stack-suffix.d: Updated.
* gas/testsuite/gas/i386/x86-64-stack.d: Updated.

12 years ago * dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups before
Tom Tromey [Fri, 3 Aug 2012 20:52:47 +0000 (20:52 +0000)]
* dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups before
return.

12 years ago * opncls.c (_bfd_delete_bfd): Now static.
Tom Tromey [Fri, 3 Aug 2012 20:09:53 +0000 (20:09 +0000)]
* opncls.c (_bfd_delete_bfd): Now static.
* libbfd-in.h (_bfd_delete_bfd): Don't declare.
* libbfd.h: Rebuild.

12 years ago * dlltool.c (scan_obj_file): Close arfile after calling
Tom Tromey [Fri, 3 Aug 2012 16:33:04 +0000 (16:33 +0000)]
* dlltool.c (scan_obj_file): Close arfile after calling
bfd_openr_next_archived_file.

12 years ago2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
Edjunior Barbosa Machado [Fri, 3 Aug 2012 16:03:07 +0000 (16:03 +0000)]
2012-08-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>

* gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
symbols. Abort if vgdb remote connection is closed.

12 years ago*** empty log message ***
gdbadmin [Fri, 3 Aug 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
Doug Evans [Thu, 2 Aug 2012 22:27:47 +0000 (22:27 +0000)]
* gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.

12 years ago * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Modified
Sean Keys [Thu, 2 Aug 2012 20:40:30 +0000 (20:40 +0000)]
* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Modified
conditional statment to allow suppression of mismatched bank
warning.

12 years ago2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
Sergio Durigan Junior [Thu, 2 Aug 2012 20:37:14 +0000 (20:37 +0000)]
2012-08-02  Sergio Durigan Junior  <sergiodj@redhat.com>

* gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
s390x, PowerPC 64 and m68k-linux.

12 years ago * config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
Sean Keys [Thu, 2 Aug 2012 20:26:52 +0000 (20:26 +0000)]
* config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
New function to parse pseudo ops that are unreleated to
existing pseudo ops.

12 years ago * tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
Sean Keys [Thu, 2 Aug 2012 20:25:35 +0000 (20:25 +0000)]
* tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
New function to parse pseudo ops that are unreleated to
existing pseudo ops.

12 years ago * elf/m68hc11.h: #define E_M68HC11_NO_BANK_WARNING
Sean Keys [Thu, 2 Aug 2012 20:10:10 +0000 (20:10 +0000)]
* elf/m68hc11.h: #define E_M68HC11_NO_BANK_WARNING
        0x000000200

12 years ago * m68hc11.h: #define E_M68HC11_NO_BANK_WARNING
Sean Keys [Thu, 2 Aug 2012 20:08:54 +0000 (20:08 +0000)]
* m68hc11.h: #define E_M68HC11_NO_BANK_WARNING
        0x000000200

12 years ago * ld-mips-elf/got-vers-1.rd: Fix a typo.
Maciej W. Rozycki [Thu, 2 Aug 2012 18:37:43 +0000 (18:37 +0000)]
* ld-mips-elf/got-vers-1.rd: Fix a typo.

12 years ago * gdb.base/annota1.exp: Accept no frames-invalid notification
Ulrich Weigand [Thu, 2 Aug 2012 15:59:59 +0000 (15:59 +0000)]
* gdb.base/annota1.exp: Accept no frames-invalid notification
when starting up the program.
* gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
show a symbolic value as well.
* gdb.server/server-exec-info.exp: Skip test when skipping
gdbserver test and/or when skipping shared library tests.
* gdb.threads/linux-dp.exp: Unset "seen" when done with it to
avoid name conflicts with other tests.

12 years ago * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
Ulrich Weigand [Thu, 2 Aug 2012 15:57:49 +0000 (15:57 +0000)]
* gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
Fix wrong output on big-endian systems.
* gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
4-byte pointer types on 64-bit s390x.

12 years ago * gdb.base/watchpoint.c (func2): Initialize local_a. Add
Ulrich Weigand [Thu, 2 Aug 2012 15:55:45 +0000 (15:55 +0000)]
* gdb.base/watchpoint.c (func2): Initialize local_a.  Add
marker comment at the beginning (after intialization).
* gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
breakpoint on marker comment instead of function begin.
(test_wide_location_1): Do not expect HW watchpoints on 32-bit
PowerPC.
(test_wide_location_2): Do not expect HW watchpoints on 32-bit
or 64-bit PowerPC.
(do_tests): Consistently set can-use-hw-watchpoints to 0 if
gdb,no_hardware_watchpoints flag is set.
(initialize): Remove now redundant can-use-hw-watchpoints change.

12 years agoChangeLog:
Ulrich Weigand [Thu, 2 Aug 2012 15:52:27 +0000 (15:52 +0000)]
ChangeLog:

* inf-child.c (inf_child_fileio_pwrite): If pwrite fails, fall back
to attempting lseek/write.
(inf_child_fileio_pread): Likewise for pread.

gdbserver/ChangeLog:

* hostio.c (handle_pread): If pread fails, fall back to attempting
lseek/read.
(handle_pwrite): Likewise for pwrite.

12 years agoDisplay null bytes in DWARF debug info
H.J. Lu [Thu, 2 Aug 2012 13:42:59 +0000 (13:42 +0000)]
Display null bytes in DWARF debug info

binutils/

PR binutils/14420
* dwarf.c (process_abbrev_section): Add attribute terminator.
Warn missing section terminator.
(get_FORM_name): Special check for 0 value.
(get_AT_name): Likewise.
(process_debug_info): Display zero abbrev number.  Check
attribute terminator.

binutils/testsuite/

PR binutils/14420
* binutils-all/i386/compressed-1a.d: Updated.
* binutils-all/objdump.W: Likewise.
* binutils-all/readelf.wa: Likewise.
* binutils-all/x86-64/compressed-1a.d: Likewise.

gas/testsuite/

PR binutils/14420
* gas/elf/dwarf2-1.d: Updated.
* gas/elf/dwarf2-2.d: Likwise.
* gas/i386/dw2-compress-1.d: Likwise.

12 years agogdb/
Yao Qi [Thu, 2 Aug 2012 09:36:40 +0000 (09:36 +0000)]
gdb/
* dwarf2loc.c (entry_values_debug): Add 'unsigned'.
(_initialize_dwarf2loc): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* dwarf2loc.h: Update the declaration of 'entry_values_debug'.
* dwarf2read.c (dwarf2_die_debug): Add 'unsigned'.
(_initialize_dwarf2_read): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* darwin-nat.c (dwarwin_debug_flag): Add 'unsigned'.
(_initialize_darwin_inferior): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* frame.c (frame_debug): Add 'unsigned'.
(_intialize_frame): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* frame.h: Update the declaration of 'frame_debug'.
* gdbtypes.c (overload_debug): Add 'unsigned'.
(_initialize_gdbtypes): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* inferior.h: Update declaration of 'debug_infrun'.
* infrun.c (debug_infrun): Add 'unsigned'.
(_initialize_infrun): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* jit.c (jit_debug): Add 'unsigned'.
(_initialize_jit): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* linux-nat.c (debug_linux_nat): Add 'unsigned'.
(_initialize_linux_nat): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* linux-thread-db.c (libthread_db_debug): Add 'unsigned'.
(_initialize_thread_db): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* machoread.c (mach_o_debug_level): Add 'unsigned'.
(_initialize_machoread): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* mi/mi-cmd-var.c: Update the declaration of 'varobjdebug'.
* microblaze-tdep.c (microblaze_debug_flag): Add 'unsigned'.
(_initialize_microblaze_tdep): Call add_setshow_zuinteger_cmd
intead of add_setshow_zinteger_cmd.
* mips-tdep.c (mips_debug): Add 'unsigned'.
(_initialize_mips_tdep): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* monitor.c (monitor_debug): Add 'unsigned'.
(_initialize_remote_monitors): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* observer.c (observer_debug): Add 'unsigned'.
(_initialize_observer): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* parse.c (expressiondebug): Add 'unsigned'.
(_initialize_parse): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* record.c (record_debug): Add 'unsigned'.
(_initialize_record): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* record.h: Update the declaration of 'record_debug'.
* stap-probe.c (stap_expression_debug): Add 'unsigned'.
(_initialize_stap_probe): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* serial.c (global_serial_debug_p): Add 'unsigned'.
(_initialize_serial): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* solib-dsbt.c (solib_dsbt_debug): Add 'unsigned'.
(_initialize_dsbt_solib): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* solib-frv.c (solib_frv_debug): Add 'unsigned'.
(_initialize_frv_solib): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* target.c (targetdebug): Add 'unsigned'.
(initialize_targets): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* valops.c (overload_debug): Add 'unsigned'.
* varobj.c (varobjdebug): Add 'unsigned'.
(_initialize_varobj): Call add_setshow_zuinteger_cmd instead of
add_setshow_zinteger_cmd.
* xtensa-tdep.c (xtensa_debug_level): Add 'unsigned'.
(_initialize_xtensa_tdep): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.

* arch-utils.h: Remove the declaration of 'gdbarch_debug'.
* gdbarch.sh (gdbarch_debug): Add 'unsigned'.
(extern void _initialize_gdbarch): Call add_setshow_zuinteger_cmd
instead of add_setshow_zinteger_cmd.
* gdbarch.c, gdbarch.h: Re-generated.

12 years agogdb/
Yao Qi [Thu, 2 Aug 2012 09:27:15 +0000 (09:27 +0000)]
gdb/
* nto-tdep.c: Don't include cli/cli-decode.h and
cli/cli-cmds.h.
(_initialize_nto_tdep): Remove.
* nto-tdep.h (struct nto_target_ops) <internal_debugging>:
Remove field.
Remove macro nto_internal_debugging.

gdb/doc/
* gdb.texinfo (Native): Remove node Neutrino.

12 years agogdb/testsuite:
Yao Qi [Thu, 2 Aug 2012 08:46:32 +0000 (08:46 +0000)]
gdb/testsuite:
* boards/local-remote-host.exp: New.

12 years ago * configure.in: Formatting.
Jan-Benedict Glaw [Thu, 2 Aug 2012 08:13:48 +0000 (08:13 +0000)]
* configure.in: Formatting.
* configure: Regenerate.

12 years ago*** empty log message ***
gdbadmin [Thu, 2 Aug 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Thu, 2 Aug 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago2012-08-01 Catherine Moore <clm@codesourcery.com>
Sandra Loosemore [Wed, 1 Aug 2012 19:59:43 +0000 (19:59 +0000)]
2012-08-01  Catherine Moore  <clm@codesourcery.com>
    Sandra Loosemore  <sandra@codesourcery.com>

gas/
* config/mips/tc-mips.c (mips_cpu_info):  Add the 34kn.
* doc/c-mips.texi (MIPS Opts): Document it.

12 years ago * configure.tgt (m32c-*-*) [gdb_target_obs]: Remove prologue-value.o.
Richard Henderson [Wed, 1 Aug 2012 19:34:29 +0000 (19:34 +0000)]
    * configure.tgt (m32c-*-*) [gdb_target_obs]: Remove prologue-value.o.
        (mep-*-*) [gdb_target_obs]: Likewise.

12 years agoMove testsuite entry to testsuite/ChangeLog
H.J. Lu [Wed, 1 Aug 2012 16:01:17 +0000 (16:01 +0000)]
Move testsuite entry to testsuite/ChangeLog

12 years agoReformat ChangeLog files
H.J. Lu [Wed, 1 Aug 2012 15:59:55 +0000 (15:59 +0000)]
Reformat ChangeLog files

12 years ago * wrapper.c (libiberty.h): Include.
Kevin Buettner [Wed, 1 Aug 2012 14:38:19 +0000 (14:38 +0000)]
* wrapper.c (libiberty.h): Include.
(sim_store_register, sim_fetch_register): On success, return
length, instead of -1.

12 years agogas/ChangeLog:
James Lemke [Wed, 1 Aug 2012 13:46:59 +0000 (13:46 +0000)]
gas/ChangeLog:
2012-08-01  James Lemke  <jwlemke@codesourcery.com>

* gas/dwarf2dbg.c (out_set_addr): Allow for non-constant value of
DWARF2_LINE_MIN_INSN_LENGTH
* gas/config/tc-ppc.c (ppc_dwarf2_line_min_insn_length): Declare
and initialize.
(md_apply_fix): Branch addr can be a multiple of 2 or 4.
* gas/config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Now a
variable reference.

gas/testsuite/ChangeLog:
2012-08-01  James Lemke  <jwlemke@codesourcery.com>

* gas/cfi/cfi-ppc-1.d: Allow for code alignment of 2 or 4.

ld/ChangeLog:
2012-08-01  James Lemke  <jwlemke@codesourcery.com>

* ld/testsuite/ld-gc/pr13683.d: XFAIL for powerpc*-*-eabivle.

12 years ago * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
Ulrich Weigand [Wed, 1 Aug 2012 13:07:51 +0000 (13:07 +0000)]
* gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
* gdb.base/ctxobj.exp: Call gdb_load_shlibs.
* gdb.base/print-file-var.exp: Likewise.
* gdb.server/solib-list.exp: Skip on remote targets.

12 years agogdbserver/ChangeLog:
Ulrich Weigand [Wed, 1 Aug 2012 13:02:41 +0000 (13:02 +0000)]
gdbserver/ChangeLog:

* linux-arm-low.c (arm_linux_hw_point_initialize): Distinguish
between unsupported TYPE and unimplementable ADDR/LEN combination.
(arm_insert_point): Act on new return value.

testsuite/ChangeLog:

* gdb.base/watchpoint.exp (test_wide_location_1): Expect software
watchpoints on ARM.  When expecting software watchpoints, tolerate
(remote) targets that report unsupported hardware watchpoint only
at continue time.
(test_wide_location_2): Likewise.

12 years agogdb/testsuite/
Jan Kratochvil [Wed, 1 Aug 2012 09:02:50 +0000 (09:02 +0000)]
gdb/testsuite/
* gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
valgrind versions.

12 years agosim: bfin: set bfrom alias field to correct size
Mike Frysinger [Wed, 1 Aug 2012 03:31:55 +0000 (03:31 +0000)]
sim: bfin: set bfrom alias field to correct size

When the sim is built w/out the bfroms, we end up passing a length of 0 when
mapping the rom region which the core sim code rejects.  So add an alias field
equal to the length to avoid that error.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agosim: bfin: update return value in bfin_reg_{fetch,store}
Mike Frysinger [Wed, 1 Aug 2012 03:22:32 +0000 (03:22 +0000)]
sim: bfin: update return value in bfin_reg_{fetch,store}

The latest gdb sim-remote.c really wants a return value from the fetch/store
register functions, so update the Blackfin sim to avoid the warnings/errors.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoCorrect ChangeLog.
Maciej W. Rozycki [Wed, 1 Aug 2012 03:05:50 +0000 (03:05 +0000)]
Correct ChangeLog.

12 years ago * dwarf2.c (struct dwarf2_debug): Add close_on_cleanup.
Alan Modra [Wed, 1 Aug 2012 01:29:12 +0000 (01:29 +0000)]
* dwarf2.c (struct dwarf2_debug): Add close_on_cleanup.
(_bfd_dwarf2_slurp_debug_info): Set close_on_cleanup if we open
gnu_debuglink bfd.
(_bfd_dwarf2_cleanup_debug_info): Act on close_on_cleanup.

12 years agoProperly handle by_none
H.J. Lu [Wed, 1 Aug 2012 01:07:38 +0000 (01:07 +0000)]
Properly handle by_none

12 years agoDon't call compare_section in case of by_none
H.J. Lu [Wed, 1 Aug 2012 01:03:47 +0000 (01:03 +0000)]
Don't call compare_section in case of by_none

PR ld/14156
* ldlang.c (wild_sort): Don't call compare_section in case of
by_none.

* scripttempl/elf.sc: Add SORT_NONE to .init and .fini sections.
* scripttempl/elf32msp430.sc: Likewise.
* scripttempl/elf32msp430_3.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.

12 years ago * h8300-dis.c: Fix printf arg warnings.
Alan Modra [Wed, 1 Aug 2012 00:41:35 +0000 (00:41 +0000)]
* h8300-dis.c: Fix printf arg warnings.
* i960-dis.c: Likewise.
* mips-dis.c: Likewise.
* pdp11-dis.c: Likewise.
* sh-dis.c: Likewise.
* v850-dis.c: Likewise.
* configure.in: Formatting.
* configure: Regenerate.
* rl78-decode.c: Regenerate.
* po/POTFILES.in: Regenerate.

12 years ago*** empty log message ***
gdbadmin [Wed, 1 Aug 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Wed, 1 Aug 2012 00:00:04 +0000 (00:00 +0000)]
daily update

12 years ago include/opcode/
Maciej W. Rozycki [Tue, 31 Jul 2012 21:38:54 +0000 (21:38 +0000)]
include/opcode/
* mips.h: Document microMIPS DSP ASE usage.
(MICROMIPSOP_MASK_DSPACC, MICROMIPSOP_SH_DSPACC): Update for
microMIPS DSP ASE support.
(MICROMIPSOP_MASK_DSPSFT, MICROMIPSOP_SH_DSPSFT): Likewise.
(MICROMIPSOP_MASK_SA3, MICROMIPSOP_SH_SA3): Likewise.
(MICROMIPSOP_MASK_SA4, MICROMIPSOP_SH_SA4): Likewise.
(MICROMIPSOP_MASK_IMM8, MICROMIPSOP_SH_IMM8): Likewise.
(MICROMIPSOP_MASK_IMM10, MICROMIPSOP_SH_IMM10): Likewise.
(MICROMIPSOP_MASK_WRDSP, MICROMIPSOP_SH_WRDSP): Likewise.
(MICROMIPSOP_MASK_BP, MICROMIPSOP_SH_BP): Likewise.

gas/
* config/tc-mips.c (macro_build) <'2'>: Handle microMIPS.
(macro) <M_BALIGN>: Update error handling.
(validate_micromips_insn) <'2', '3', '4', '5', '6'>: New cases.
<'7', '8', '0', '@', '^'>: Likewise.
(mips_ip) <'2', '3', '4', '5', '6', '7', '8'>: Handle microMIPS.
<'9'>: Fix formatting.
<'0', '@'>: Handle microMIPS.
<'^'>: New case.

gas/testsuite/
* gas/mips/micromips@mips32-dsp.d: New.
* gas/mips/micromips@mips32-dspr2.d: New.
* gas/mips/mips32-dsp.d: Remove -mips32r2.
* gas/mips/mips32-dspr2.d: Likewise.
* gas/mips/mips.exp: (mips_create_arch): Use -mips64r2
for micromips.  Use run_dump_test_arches to run dsp tests.

opcodes/
* micromips-opc.c (WR_a, RD_a, MOD_a): New macros.
(DSP_VOLA): Likewise.
(D32, D33): Likewise.
(micromips_opcodes): Add DSP ASE instructions.
* micromips-dis.c (print_insn_micromips) <'2', '3'>: New cases.
<'4', '5', '6', '7', '8', '0', '^', '@'>: Likewise.

12 years agoUpdate gas/d30v/bittest.l
H.J. Lu [Tue, 31 Jul 2012 20:46:59 +0000 (20:46 +0000)]
Update gas/d30v/bittest.l

* gas/d30v/bittest.l: Updated.

12 years agoAppend "#pass" to gas/i386/rdseed-intel.d
H.J. Lu [Tue, 31 Jul 2012 20:46:07 +0000 (20:46 +0000)]
Append "#pass" to gas/i386/rdseed-intel.d

* gas/i386/rdseed-intel.d: Append "#pass".

12 years agoUpdate PR ld/14156 tests
H.J. Lu [Tue, 31 Jul 2012 20:45:01 +0000 (20:45 +0000)]
Update PR ld/14156 tests

* ld-elf/fini0.s: Indent global directive.
* ld-elf/foo0.s: Likewise.
* ld-elf/init0.s: Likewise.

* ld-elf/pr14156c.t: Keep text section.

12 years ago* ppc-linux-tdep.c (ppc_linux_init_abi): Register
Andreas Schwab [Tue, 31 Jul 2012 19:46:51 +0000 (19:46 +0000)]
* ppc-linux-tdep.c (ppc_linux_init_abi): Register
linux_get_siginfo_type.

12 years ago2012-07-31 Pedro Alves <palves@redhat.com>
Pedro Alves [Tue, 31 Jul 2012 19:16:46 +0000 (19:16 +0000)]
2012-07-31  Pedro Alves  <palves@redhat.com>

* server.c (process_point_options): Only skip tokens if we find
one that is unrecognized.  Don't treat 'X' specially while
skipping unrecognized tokens.

12 years agolibiberty/md5: fix strict alias warnings
Mike Frysinger [Tue, 31 Jul 2012 09:02:35 +0000 (09:02 +0000)]
libiberty/md5: fix strict alias warnings

Current libiberty md5 code triggers these warnings with gcc-4.7.1 for me:

libiberty/md5.c: In function â\80\98md5_finish_ctxâ\80\99:
libiberty/md5.c:117:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libiberty/md5.c:118:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

The change below fixes things for me.  The optimized output (-O2) is the same
before/after my change on x86_64-linux.  I imagine it'll be the same for most
targets.  It seems simpler than using a union on the md5_ctx buffer since these
are the only two locations in the code where this occurs.

12 years agoThe current error message for bad imm4 operands wasn't really helpful,
Jan Beulich [Tue, 31 Jul 2012 07:45:48 +0000 (07:45 +0000)]
The current error message for bad imm4 operands wasn't really helpful,
and was pointing at the wrong operand in Intel mode. Since non-constant
operands are being taken care of by other means anyway, adjust it to
simply state that the constant doesn't fit.

2012-07-31  Jan Beulich <jbeulich@suse.com>

* config/tc-i386.c (match_template): Adjust error message
for 'bad_imm4' case.

12 years agoSince the word to byte register conversion isn't active for x86-64
Jan Beulich [Tue, 31 Jul 2012 07:43:38 +0000 (07:43 +0000)]
Since the word to byte register conversion isn't active for x86-64
anyway, there's also no need to issue a separate, inconsistent
diagnostic in some of the cases - non-matching operands will be
complained about anyway.

2012-07-31  Jan Beulich <jbeulich@suse.com>

* config/tc-i386.c (check_byte_reg): Check for I/O port
register earlier, and just once. Drop diagnostic that got
issued only for some registers.

12 years agoAt the point where check_VecOperands()/VEX_check_operands() get run,
Jan Beulich [Tue, 31 Jul 2012 07:41:39 +0000 (07:41 +0000)]
At the point where check_VecOperands()/VEX_check_operands() get run,
all other instruction attributes already matched, so any mismatch here
will tell the user more precisely what is wrong than using an eventual
(and very likely to occur) more generic error encountered on a
subsequent iteration through the template matching loop.

2012-07-31  Jan Beulich <jbeulich@suse.com>

* config/tc-i386.c (match_template): New local variable
'specific_error'. Set it from i.error after failed
check_VecOperands or VEX_check_operands. Use it if set in
preference to i.error when actually issuing disagnostic.

12 years agoVMOVNTDQA was both misplaced and improperly tagged as being an AVX
Jan Beulich [Tue, 31 Jul 2012 07:38:42 +0000 (07:38 +0000)]
VMOVNTDQA was both misplaced and improperly tagged as being an AVX
instruction (instead of AVX2).

2012-07-31  Jan Beulich <jbeulich@suse.com>

* i386-opc.tbl (vmovntdqa): Move up into 256-bit integer AVX2
instruction group. Mark as requiring AVX2.
* i386-tbl.h: Re-generate.

12 years agogdb/testsuite/
Jan Kratochvil [Tue, 31 Jul 2012 07:35:18 +0000 (07:35 +0000)]
gdb/testsuite/
* gdb.base/valgrind-db-attach.exp: Do not run in remote mode.

12 years agogdb/
Jan Kratochvil [Tue, 31 Jul 2012 07:33:16 +0000 (07:33 +0000)]
gdb/
* infcall.c (call_function_by_hand): Move BP_ADDR comment to
AT_ENTRY_POINT.
(call_function_by_hand) <ON_STACK>: Call write_memory with
gdbarch_breakpoint_from_pc, if possible.
(call_function_by_hand) <AT_ENTRY_POINT>: The BP_ADDR comment is moved
here.

gdb/testsuite/
* gdb.base/valgrind-infcall.c: New file.
* gdb.base/valgrind-infcall.exp: New file.

12 years agogdb/
Yao Qi [Tue, 31 Jul 2012 07:12:28 +0000 (07:12 +0000)]
gdb/
* tracepoint.c: Add 'static' for some variables.

12 years agogdb/
Yao Qi [Tue, 31 Jul 2012 06:16:09 +0000 (06:16 +0000)]
gdb/
* go32-nat.c: Declare _initialize_go32_nat.
* ser-go32.c: Declare _initialize_ser_dos.
* top.c (do_chdir_cleanup): Add 'static'.

12 years agodaily update
Alan Modra [Tue, 31 Jul 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Tue, 31 Jul 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago2012-07-05 Sean Keys <skeys@ipdatasys.com>
Sean Keys [Mon, 30 Jul 2012 21:49:06 +0000 (21:49 +0000)]
2012-07-05  Sean Keys  <skeys@ipdatasys.com>

* xgate-dis.c: Removed an IF statement that will
        always be false due to overlapping operand masks.
        * xgate-opc.c: Corrected 'com' opcode entry and
        fixed spacing.