aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-08-06gas/testsuite/Roland McGrath10-6/+93
* 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.
2012-08-06 gas/testsuite/Maciej W. Rozycki46-49/+103
* 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.
2012-08-06 * ld-mips-elf/reloc-1-n32.d: Add -EB to GAS flags.Maciej W. Rozycki3-4/+9
* ld-mips-elf/mips-elf.exp: Update GAS flags in reloc test 6.
2012-08-06 gas/testsuite/Maciej W. Rozycki30-852/+2517
* 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.
2012-08-06 gas/Maciej W. Rozycki6-1/+35
* 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.
2012-08-06gas/testsuite/Roland McGrath10-91/+183
* 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.
2012-08-06gdb/testsuite/Jan Kratochvil2-0/+12
* gdb.base/list.exp (test_only_end): New function. Call it.
2012-08-06 * dwarf2-frame.c (clear_pointer_cleanup): New function.Tom Tromey3-2/+24
(dwarf2_frame_cache): Use it. * frame-unwind.h (frame_sniffer_ftype): Document prologue cache initialization constraint.
2012-08-06 PR python/14386:Tom Tromey6-3/+40
* 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.
2012-08-06 PR cli/14392:Tom Tromey2-1/+6
* cli/cli-cmds.c (list_command): Filter 'sals_end'.
2012-08-06gdb/Jan Kratochvil5-3/+17
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.
2012-08-06gdb/doc/Yao Qi2-0/+8
* gdb.texinfo (Remote Configuration): Add kindex for 'set remote hardware-watchpoint-limit' and 'set remote hardware-breakpoint-limit'.
2012-08-06gdb/doc/Yao Qi2-2/+10
Fix PR14371. * gdb.texinfo (GDB/MI Async Records): Fix the doc for '=breakpoint-deleted'.
2012-08-06daily updateAlan Modra1-1/+1
2012-08-06*** empty log message ***gdbadmin1-1/+1
2012-08-05 bfd/Maciej W. Rozycki12-25/+394
* 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.
2012-08-05*** empty log message ***gdbadmin1-1/+1
2012-08-05daily updateAlan Modra1-1/+1
2012-08-04daily updateAlan Modra1-1/+1
2012-08-04*** empty log message ***gdbadmin1-1/+1
2012-08-03 * lib/ld-lib.exp (at_least_gcc_version): Accept more versionMaciej W. Rozycki2-3/+13
number formats; avoid throwing exceptions in any case.
2012-08-03 * frags.c (frag_grow): Never shrink the obstack size requestedMaciej W. Rozycki2-2/+9
below the default.
2012-08-03 * elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_maskMaciej W. Rozycki3-14/+20
field initializers throughout. * elfn32-mips.c (elf_mips16_howto_table_rela): Likewise.
2012-08-03 bfd/Maciej W. Rozycki4-3/+13
* 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.
2012-08-03 * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Update theMaciej W. Rozycki2-2/+7
comment on DT_MIPS_RLD_MAP.
2012-08-03gas/testsuite/Roland McGrath8-0/+71
* 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.
2012-08-03 * dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups beforeTom Tromey2-0/+6
return.
2012-08-03 * opncls.c (_bfd_delete_bfd): Now static.Tom Tromey4-5/+7
* libbfd-in.h (_bfd_delete_bfd): Don't declare. * libbfd.h: Rebuild.
2012-08-03 * dlltool.c (scan_obj_file): Close arfile after callingTom Tromey2-1/+8
bfd_openr_next_archived_file.
2012-08-032012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>Edjunior Barbosa Machado2-1/+10
* gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's symbols. Abort if vgdb remote connection is closed.
2012-08-03*** empty log message ***gdbadmin1-1/+1
2012-08-02 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.Doug Evans2-1/+13
2012-08-02 * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): ModifiedSean Keys2-2/+10
conditional statment to allow suppression of mismatched bank warning.
2012-08-022012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior2-1/+6
* gdb.base/pc-fp.exp: Adjust testcase to match different outputs from s390x, PowerPC 64 and m68k-linux.
2012-08-02 * config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):Sean Keys1-0/+6
New function to parse pseudo ops that are unreleated to existing pseudo ops.
2012-08-02 * tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):Sean Keys1-0/+20
New function to parse pseudo ops that are unreleated to existing pseudo ops.
2012-08-02 * elf/m68hc11.h: #define E_M68HC11_NO_BANK_WARNINGSean Keys1-0/+5
0x000000200
2012-08-02 * m68hc11.h: #define E_M68HC11_NO_BANK_WARNINGSean Keys1-0/+3
0x000000200
2012-08-02 * ld-mips-elf/got-vers-1.rd: Fix a typo.Maciej W. Rozycki2-1/+5
2012-08-02 * gdb.base/annota1.exp: Accept no frames-invalid notificationUlrich Weigand5-3/+22
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.
2012-08-02 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.Ulrich Weigand3-10/+19
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.
2012-08-02 * gdb.base/watchpoint.c (func2): Initialize local_a. AddUlrich Weigand3-14/+26
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.
2012-08-02ChangeLog:Ulrich Weigand4-12/+44
* 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.
2012-08-02Display null bytes in DWARF debug infoH.J. Lu11-4/+69
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.
2012-08-02gdb/Yao Qi34-174/+255
* 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.
2012-08-02gdb/Yao Qi5-46/+13
* 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.
2012-08-02gdb/testsuite:Yao Qi2-0/+60
* boards/local-remote-host.exp: New.
2012-08-02 * configure.in: Formatting.Jan-Benedict Glaw3-22/+27
* configure: Regenerate.
2012-08-02*** empty log message ***gdbadmin1-1/+1
2012-08-02daily updateAlan Modra1-1/+1