aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-09-02bfd/H.J. Lu6-9/+237
2007-09-02 H.J. Lu <hongjiu.lu@intel.com> PR ld/4986 * dwarf2.c (new_line_sorts_after): Undo the last change. (add_line_info): Only keep the last entry with the same address and end sequence. ld/testsuite/ 2007-09-02 H.J. Lu <hongjiu.lu@intel.com> PR ld/4986 * ld-ia64/line.exp: New. * ld-ia64/undefined.s: Likewise. * ld-x86-64/line.exp: Don't check CC.
2007-09-02*** empty log message ***gdbadmin1-1/+1
2007-09-02daily updateAlan Modra1-1/+1
2007-09-01 PR gdb/2138Daniel Jacobowitz3-62/+125
From readline 5.2: * configure.in (CROSS_COMPILE): Initialize to empty. * configure: Regenerated.
2007-09-01 * gdb.texinfo (Separate Debug Files): Fix last change. AddEli Zaretskii2-60/+90
indexing for ``build ID'' support.
2007-09-01 * Makefile.in (symfile.o): Update dependencies.Jan Kratochvil3-3/+128
* symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the DEBUGFILE variable. FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS. (struct build_id): New structure. (build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New. (find_separate_debug_file): New variable BUILD_ID. Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try.
2007-09-01 * gdb.texinfo (Separate Debug Files): Included a BUILD ID description.Jan Kratochvil2-30/+66
Enlisted BUILD ID to the debug file searching example. Included a BUILD ID `.note.gnu.build-id' section description. Updated/added the debug files splitting instructions for OBJCOPY.
2007-09-01 * lib/gdb.exp (build_id_debug_filename_get): New function.Jan Kratochvil3-73/+168
* gdb.base/sepdebug.exp: Reflect the changes in the heading comment. Remove the generate DEBUG file for the future testcase runs. New testcase for the NT_GNU_BUILD_ID retrieval. Move the final testing step to ... (test_different_dir): ... a new function. New parameter XFAIL to XFAIL all the tests performed. New parameter TEST_DIFFERENT_DIR parametrizing the directory. New parameter TYPE to PF_PREFIX all the tests performed.
2007-09-01bfd/H.J. Lu5-3/+232
2007-08-31 H.J. Lu <hongjiu.lu@intel.com> PR ld/4986 * dwarf2.c (new_line_sorts_after): Also compare line number. ld/testsuite/ 2007-08-31 H.J. Lu <hongjiu.lu@intel.com> PR ld/4986 * ld-x86-64/line.exp: New * ld-x86-64/undefined.s: Likewise.
2007-09-01*** empty log message ***gdbadmin1-1/+1
2007-09-01daily updateAlan Modra1-1/+1
2007-08-312007-08-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-6/+48
* i386-dis.c (OPC_EXT_40...OPC_EXT_45): New. (dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45. (opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
2007-08-31merge from gccDJ Delorie4-1/+35
2007-08-31 * varobj.c (struct varobj): Fix commentVladimir Prus2-1/+9
for the type member not to lie when it can be NULL.
2007-08-31 Implement -var-info-path-expression.Vladimir Prus11-24/+346
* mi/mi-cmds.h (mi_cmd_var_info_path_expression): Declare. * mi/mi-cmds.c (mi_cmds): Register var-info-path-expression. * mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New. * varobj.c (struct varobj): New field 'path_expr'. (c_path_expr_of_child, cplus_path_expr_of_child) (java_path_expr_of_child): New. (struct language_specific): New field path_expr_of_child. (varobj_create): Initialize the path_expr field. (varobj_get_path_expr): New. (new_variable): Initialize the path_expr field. (free_variable): Free the path_expr field. (adjust_value_for_children_access): New parameter WAS_TYPE. (c_number_of_children): Adjust. (c_describe_child): New parameter CFULL_EXPRESSION. Compute full expression. (c_value_of_child, c_type_of_child): Adjust. (cplus_number_of_children): Adjust. (cplus_describe_child): New parameter CFULL_EXPRESSION. Compute full expression. (cplus_name_of_child, cplus_value_of_child) (cplus_type_of_child): Adjust. * varobj.h (varobj_get_path_expr): Declare.
2007-08-31gas/testsuite/H.J. Lu8-107/+91
2007-08-31 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/svme.s: Updated to accept eax in 32bit and rax in 64bit. * gas/i386/svme.d: Updated. * gas/i386/svme64.d: Likewise. opcodes/ 2007-08-31 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (SVME_Fixup): Removed. (OPC_EXT_39): New. (OPC_EXT_RM_6): Likewise. (grps): Use OPC_EXT_39. (opc_ext_table): Add OPC_EXT_39. (opc_ext_rm_table): Add OPC_EXT_RM_6. * i386-opc.tbl: Correct SVME instructions to take register operand only. * i386-tbl.h: Regenerated.
2007-08-31 * mi/mi-cmd-var.c (print_varobj): If a varobjVladimir Prus2-1/+8
type is NULL, don't try to print it.
2007-08-312007-08-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-9/+15
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. * Makefile.in: Regenerated. * sysdep.h: Include "config.h" first.
2007-08-31* mach-o.c (bfd_mach_o_make_bfd_section): Fix test for non zerofill sections.Nick Clifton2-1/+6
2007-08-312007-08-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu8-751/+856
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. * Makefile.in: Regenerated. * configure.in (AC_GNU_SOURCE): Added. (AC_PROG_CC): Moved before AC_GNU_SOURCE. (AC_CHECK_DECLS): Add stpcpy. * configure: Regenerated. * config.in: Likewise. * i386-dis.c: Include "sysdep.h" before "dis-asm.h". * sysdep.h (stpcpy): New.
2007-08-31* ldlang.c (lang_map): Increment lang_statement_iteration so that DEFINED() ↵Nick Clifton5-1/+17
expressions are correctly computed. * testsuite/ld-script/map-address.d, * testsuite/ld-script/map-address.t: Add a test for testing DEFINED in map output.
2007-08-31* po/sk.po: New Slovakian translation.Nick Clifton4-2/+5622
* configure.in (LINGUAS): Add sk. * configure: Regenerate.
2007-08-31 * ldlang.c (lang_record_phdrs): Give a fatal error if no sectionsAlan Modra2-5/+14
assigned to phdrs. Avoid multiple forward scans for a section with phdr assignment.
2007-08-31daily updateAlan Modra1-1/+1
2007-08-31*** empty log message ***gdbadmin1-1/+1
2007-08-30Move changelogRichard Sandiford2-1/+5
2007-08-30gas/testsuite/H.J. Lu9-61/+83
2007-08-30 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/amd.s: Add rdtscp. * gas/i386/amd.d: Updated. * gas/i386/mem-intel.d: Update invlpg for BYTE PTR. * gas/i386/x86-64-mem-intel.d: Likewise. * gas/i386/x86-64-opcode.s: Add swapgs. * gas/i386/x86-64-opcode.d: Updated. opcodes/ 2007-08-30 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (INVLPG_Fixup): Removed. (OPC_EXT_38): New. (OPC_EXT_RM_5): Likewise. (grps): Use OPC_EXT_38. (opc_ext_table): Add OPC_EXT_38. (opc_ext_rm_table): Add OPC_EXT_RM_5.
2007-08-30* readelf.c (dump_type): New type used to classify the kinds of dump ↵Nick Clifton10-56/+244
requested by the user. (dump_sects, cmdline_dump_sects): Use the new type. (options): Add --string-dump option. (request_dump): Rename to request_dump_bynumber. Use dump_type. (request_dump_byname): Use dump_type. (parse_args): Parse --string-dump option. (process_section_headers): Fix calls to request_dump. (initialise_dumps_byname): Likewise. (dump_section): Rename to dump_section_as_bytes. (dump_section_as_strings): New function. Display the contents of a section as printable strings. (process_section_contents): String dump the section if requested. (process_object): Use dump_type. (main): Likewise. * Makefile.am: Add dependency for readelf.c on safe-ctype.h. * Makefile.in: Regenerate. * NEWS: Mention the new feature. * doc/binutils.texi: Document the new feature. * testsuite/binutils-all/dumptest.s: New test file. * testsuite/binutils-all/readelf.exp: Add test of readelf's -p switch.
2007-08-30Updated Finnish translationNick Clifton2-33/+37
2007-08-30 * ppc-linux-nat.c (right_fill_reg): Delete.Alan Modra9-320/+357
(supply_gregset): Use ppc_supply_gregset. (supply_fpregset): Use ppc_supply_fpregset. (fill_gregset): Use ppc_collect_gregset. (fill_fpregset): Use ppc_collect_fpregset. * ppc-linux-tdep.c (PPC_LINUX_PT_*): Don't define. (right_supply_register, ppc_linux_supply_gregset): Delete. (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): Delete. (ppc_linux_supply_fpregset): Delete. (ppc_linux_collect_gregset): New function. (ppc32_linux_reg_offsets, ppc64_linux_reg_offsets): New. (ppc32_linux_gregset, ppc64_linux_gregset): Update to use reg offsets, ppc_linux_supply_gregset, and ppc_collect_gregset. (ppc_linux_fpregset): Rename to ppc32_linux_fpregset and update. (ppc_linux_gregset, ppc_linux_fpregset): New functions. (ppc_linux_regset_from_core_section): Update. * ppc-tdep.h (ppc_linux_gregset, ppc_linux_fpregset): Declare. (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Delete. (struct ppc_reg_offsets): Add gpr_size, xr_size, fpscr_size fields. * ppcobsd-tdep.c (ppcobsd_supply_gregset): Delete FIXME and assert. (ppcobsd_collect_gregset): Likewise. (_initialize_ppcnbsd_tdep): Init gpr_size, xr_size, fpscr_size. * ppcnbsd-tdep.c (_initialize_ppcobsd_tdep): Likewise. * ppcobsd-nat.c (_initialize_ppcobsd_nat): Likewise. * rs6000-aix-tdep.c (rs6000_aix32_reg_offsets): Likewise. (rs6000_aix64_reg_offsets): Likewise. (rs6000_aix_supply_regset): Call ppc_supply_fpregset without testing ppc_floating_point_unit_p. (rs6000_aix_collect_regset): Similarly. * rs6000-tdep.c (ppc_supply_reg): Add regsize param. Adjust offset when regsize is larger than regcache register size. (ppc_collect_reg): Similarly zero pad when regsize is larger than regcache register size. (ppc_greg_offset): New function, split out from.. (ppc_supply_gregset): ..here. Separate code handling all regs from single reg case. Correct xer offset. (ppc_fpreg_offset): New function, split out from.. (ppc_supply_fpregset): ..here. Separate code handling all regs from single reg case. (ppc_collect_gregset, ppc_collect_fpregset): Likewise. (ppc_supply_fpregset, ppc_collect_fpregset): Don't assert we have a fp unit, instead return if no fp.
2007-08-30 * bucomm.c (bfd_nonfatal_message): New.Nathan Sidwell4-78/+172
* bucomm.h (bfd_nonfatal_message): Declare. * objcopy.c (RETURN_NONFATAL): Take BFD not NAME, use bfd_nonfatal_message. (copy_unknown_object): Adjust bfd_nonfatal and RETURN_NONFATAL calls, or replace with bfd_nonfatal_message calls as appropriate. (copy_object, copy_archive, copy_file, setup_section, copy_section, write_debugging_info): Likewise.
2007-08-302007-08-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-21/+36
* i386-dis.c (SIMD_Fixup): Removed. (OPC_EXT_34...OPC_EXT_37): New. (dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35. (prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37. (opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.
2007-08-30daily updateAlan Modra1-1/+1
2007-08-30*** empty log message ***gdbadmin1-1/+1
2007-08-29* breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block;Jim Blandy2-22/+5
this code has not been compiled for two years.
2007-08-292007-08-29 Michael Snyder <msnyder@access-company.com>Michael Snyder2-0/+5
* event-top.c (gdb_readline2): Return after EOF.
2007-08-292007-08-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-57/+121
* i386-dis.c (OPC_EXT_25...OPC_EXT_33): New. (dis386): Use OPC_EXT_0...OPC_EXT_2. (dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5. (grps): Updated to use OPC_EXT_6...OPC_EXT_31. (prefix_user_table): Use OPC_EXT_32. (x86_64_table): Use OPC_EXT_33. (opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.
2007-08-29 * dwarf2dbg.c (dwarf2_directive_loc): Emit duplicate .loc directives.Daniel Jacobowitz6-0/+31
* gas/lns/lns-duplicate.d, gas/lns/lns-duplicate.s: New. * gas/lns/lns.exp: Run lns-duplicate.
2007-08-292007-08-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-0/+148
* gas/i386/i386.exp: Run x86-64-reg and x86-64-reg-intel. * gas/i386/x86-64-reg.s: New. Add tests for instructions with one register operand. * gas/i386/x86-64-reg-intel.d: Likewise. * gas/i386/x86-64-reg.d: Likewise.
2007-08-29Correct ChangeLog entries.H.J. Lu1-2/+4
2007-08-29 * symtab.c: Remove a function that has been commented out 3 years ago.Joel Brobecker2-135/+4
2007-08-292007-08-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* i386-dis.c (prefix_user_table): Fix comment.
2007-08-29gas/testsuite/H.J. Lu8-507/+646
2007-08-29 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run reg and reg-intel. * gas/i386/katmai.d: Update bad instructions. * gas/i386/reg.s: New. Add tests for instructions with one register operand. * gas/i386/reg-intel.d: Likewise. * gas/i386/reg.d: Likewise. opcodes/ 2007-08-29 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (OP_Skip_MODRM): New. (OP_Monitor): Likewise. (OP_Mwait): Likewise. (Mb): Likewise. (Skip_MODRM): Likewise. (USE_OPC_EXT_TABLE): Likewise. (USE_OPC_EXT_RM_TABLE): Likewise. (PREGRP98...PREGRP100): Likewise. (OPC_EXT_0...OPC_EXT_24): Likewise. (OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise. (lock_prefix): Likewise. (data_prefix): Likewise. (addr_prefix): Likewise. (repz_prefix): Likewise. (repnz_prefix): Likewise. (opc_ext_table): Likewise. (opc_ext_rm_table): Likewise. (get_valid_dis386): Likewise. (OP_VMX): Removed. (OP_0fae): Likewise. (PNI_Fixup): Likewise. (VMX_Fixup): Likewise. (VM): Likewise. (twobyte_uses_DATA_prefix): Likewise. (twobyte_uses_REPNZ_prefix): Likewise. (twobyte_uses_REPZ_prefix): Likewise. (threebyte_0x38_uses_DATA_prefix): Likewise. (threebyte_0x38_uses_REPNZ_prefix): Likewise. (threebyte_0x38_uses_REPZ_prefix): Likewise. (threebyte_0x3a_uses_DATA_prefix): Likewise. (threebyte_0x3a_uses_REPNZ_prefix): Likewise. (threebyte_0x3a_uses_REPZ_prefix): Likewise. (grps): Use OPC_EXT_0...OPC_EXT_24. (prefix_user_table): Use PREGRP98. (print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix, uses_REPNZ_prefix and uses_REPZ_prefix. Initialize repz_prefix, repnz_prefix, lock_prefix, addr_prefix and data_prefix based on prefixes. Call get_valid_dis386 to get a pointer to the valid dis386. Print out prefixes if they aren't NULL. (OP_C): Clear lock_prefix if PREFIX_LOCK is used. (REP_Fixup): Set repz_prefix to "rep " when seeing PREFIX_REPZ.
2007-08-29* config.sub, config.guess: Update from upstream sources.Nick Clifton3-11/+7
2007-08-29* config.sub: Add support for cr16 target.Nick Clifton2-1/+9
2007-08-29Any symbol which is in both a regular object and a dynamic objectIan Lance Taylor2-10/+4
requires an entry in the dynamic symbol table.
2007-08-292007-08-29 Randolph Chung <tausq@debian.org>Carlos O'Donell3-2/+30
* hppa-tdep.c (hppa32_cannot_fetch_register) (hppa64_cannot_fetch_register): New functions. (hppa_gdbarch_init): Set cannot_fetch_register appropriately. * hppa-tdep.h (hppa_regnum): Add HPPA_CR26_REGNUM.
2007-08-29Copy in_reg and in_dyn when resolving NAME/VERSION with NAME/NULL.Ian Lance Taylor2-0/+9
2007-08-29daily updateAlan Modra1-1/+1
2007-08-29*** empty log message ***gdbadmin1-1/+1