aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-05-262005-05-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-0/+8
* gdb.texinfo: Note that Elena Zannoni, Fernando Nasser, and Andrew Cagney implemented the original GDB/MI.
2005-05-26* elfxx-mips.c (_bfd_mips_elf_section_processing): Warn andMaciej W. Rozycki2-0/+32
stop processing of options if one of invalid size is encountered. (_bfd_mips_elf_section_from_shdr): Likewise. (_bfd_mips_elf_fake_sections): Reset the type of empty special sections.
2005-05-26Fix issues noticed while reviewing Jan Beulich's MLX template bug fix.Jim Wilson2-2/+23
* config/tc-ia64.c (extra_goodness): Update comment. (md_begin): Add debugging code to print best_template table.
2005-05-26 * elf64-alpha.c (struct alpha_elf_link_hash_entry): RemoveRichard Henderson2-26/+7
plt_old_section, plt_old_value. (elf64_alpha_adjust_dynamic_symbol): Don't set it. (elf64_alpha_size_plt_section_1): Don't use it.
2005-05-26 * elfcode.h (elf_object_p): Fail if e_shoff != 0, e_shnum == 0 andJakub Jelinek2-6/+36
first shdr has sh_size == 0. Fail if e_shnum is large to cause arithmetic overflow when allocating the i_shdr array. Sanity check sh_link and sh_info fields. Fix e_shstrndx sanity check.
2005-05-26 * elf64-alpha.c: Update all function definitions to ISO C. RemoveRichard Henderson2-1579/+1293
all function prototypes; rearrange functions into def-use order.
2005-05-26Patch from Steve Ellcey for ia64-hpux testsuite failure.Jim Wilson2-1/+5
gas/ia64/global.d: Change --sym to --syms.
2005-05-26*** empty log message ***gdbadmin1-1/+1
2005-05-26daily updateAlan Modra1-1/+1
2005-05-25include/Richard Henderson5-0/+32
* demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New. libiberty/ * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS. (d_make_comp, d_print_comp): Likewise. (d_special_name): Generate one. * testsuite/demangle-expected: Add a hidden alias test.
2005-05-25 * elf64-alpha.c (elf64_alpha_merge_gots): Fix gotent iterationRichard Henderson2-6/+19
in the presence of deleting elements. (elf64_alpha_size_got_sections): Zero dead got section size.
2005-05-252005-05-25 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2-5/+34
* Makefile.tpl (stage[+id+]-start): Iterate over target module as well. (Dependencies): Consider target modules for bootstrap dependencies. Make target bootstrap modules depend on each stage's gcc. * Makefile.in: Regenerate.
2005-05-252005-05-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+7
* gas/ia64/group-1.d: Updated. * gas/ia64/group-2.d: Likewise.
2005-05-25gas/Jan Beulich2-2/+7
2005-05-25 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (md_begin): Don't try to match slot 2 of an MLX template.
2005-05-25gas/Jan Beulich2-0/+6
2005-05-25 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (ia64_gen_real_reloc_type): Also handle BFD_RELOC_UNUSED when determining the width of the reloc.
2005-05-25gas/Jan Beulich2-6/+6
2005-05-25 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind section entry.
2005-05-25gas/Jan Beulich6-8/+31
2005-05-25 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (dot_radix): Rewrite. gas/testsuite/ 2005-05-25 Jan Beulich <jbeulich@novell.com> * gas/ia64/radix.s: New. * gas/ia64/radix.l: New. * gas/ia64/ia64.exp: Run new test.
2005-05-25gas/Jan Beulich2-10/+8
2005-05-25 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number and next_slot_frag. (alloc_record): Remove references to next_slot_number and next_slot_frag. (emit_one_bundle): Likewise.
2005-05-25gas/testsuite/Jan Beulich4-20/+64
2005-05-25 Jan Beulich <jbeulich@novell.com> * gas/i386/intelok.d: Account for 32-bit displacements being shown in hex. opcodes/ 2005-05-25 Jan Beulich <jbeulich@novell.com> * i386-dis.c (OP_E): In Intel mode, display 32-bit displacements in hex (but retain it being displayed as signed). Remove redundant checks. Add handling of displacements for 16-bit addressing in Intel mode.
2005-05-252005-05-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+5
* ld-mmix/bpo-6.d: Updated. * ld-mmix/bpo-19.d: Likewise.
2005-05-25opcodes/Jan Beulich2-10/+11
2005-05-25 Jan Beulich <jbeulich@novell.com> * i386-dis.c (prefix_name): Remove pointless mode_64bit check. (OP_E): Remove redundant REX_EXTZ handling. Remove pointless masking of 'rm' in 16-bit memory address handling.
2005-05-252005-05-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+7
* gas/elf/group0b.d: Updated. * gas/elf/group1b.d: Likewise.
2005-05-252005-05-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-67/+94
* rs6000-tdep.c (ppc_supply_reg, ppc_collect_reg): Use gdb_byte for byte buffers. (rs6000_fetch_pointer_argument): Use get_frame_register_unsigned. (rs6000_software_single_step, sstep_breaks, skip_prologue) (rs6000_push_dummy_call, rs6000_push_dummy_call) (rs6000_push_dummy_call, rs6000_push_dummy_call) (rs6000_register_to_value, e500_pseudo_register_read) (rs6000_store_return_value, e500_pseudo_register_write) (rs6000_frame_prev_register, rs6000_extract_return_value): Ditto. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) (ppc_sysv_abi_push_dummy_call, do_ppc_sysv_return_value) (do_ppc_sysv_return_value, ppc_sysv_abi_return_value) (ppc_sysv_abi_broken_return_value) (ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_push_dummy_call) (ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_return_value) (ppc64_sysv_abi_return_value, ppc64_sysv_abi_return_value): Ditto. * ppc-linux-tdep.c (ppc_linux_in_sigtramp) (ppc_linux_at_sigtramp_return_path) (ppc_linux_skip_trampoline_code) (ppc_linux_memory_remove_breakpoint, ppc_linux_return_value): * rs6000-tdep.c (rs6000_value_to_register) (rs6000_register_to_value): Ditto. * ppc-tdep.h (ppc_sysv_abi_return_value) (ppc64_sysv_abi_return_value, ppc_sysv_abi_broken_return_value) (ppc_linux_memory_remove_breakpoint): Ditto.
2005-05-25*** empty log message ***gdbadmin1-1/+1
2005-05-25daily updateAlan Modra1-1/+1
2005-05-24merge from gccDJ Delorie38-155/+651
2005-05-24 * s390-tdep.c (s390_frame_prev_register): Change type of lastUlrich Weigand2-3/+10
argument to 'gdb_byte *'. (s390_stub_frame_prev_register): Likewise. (s390_sigtramp_frame_prev_register): Likewise.
2005-05-242005-05-24 Kris Warkentin <kewarken@qnx.com>Kris Warkentin2-1/+5
* config/i386/nto.mt: Remove remote-nto.o.
2005-05-24(handle_v6_thumb_insn): New function.Nick Clifton2-15/+78
(ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined instruction binary is encountered.
2005-05-24 * Make-common.in (LIBDEPS): Correctly use INTLDEPS for dependencyCorinna Vinschen2-1/+6
check.
2005-05-242005-05-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+22
* readelf.c (process_section_groups): Report group section index. Check if the section member index is valid.
2005-05-242005-05-24 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-0/+7
* config/djgpp/fnchange.lst: Add mappings for gdbserver/linux-cris-low.c and gdbserver/linux-crisv32-low.c.
2005-05-24 * emultempl/ppc32elf.em (after_allocation): Don't callAlan Modra2-2/+8
ppc_elf_set_sdata_syms when relocatable.
2005-05-24*** empty log message ***gdbadmin1-1/+1
2005-05-24daily updateAlan Modra1-1/+1
2005-05-232005-05-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-6/+8
From Nora Pan <qpan@mvista.com> * linux-nat.c (read_mapping): Don't stumble over entries in mapping that have name but zero inode.
2005-05-232005-05-23 Andrew Cagney <cagney@gnu.org>Andrew Cagney9-18/+26
* target.h (child_xfer_memory): Use gdb_byte for byte buffer parameters. * inftarg.c (child_xfer_partial): Update. * wince.c (child_xfer_memory): Update. * win32-nat.c (child_xfer_memory): Update. * rs6000-nat.c (child_xfer_memory): Update. * infptrace.c (child_xfer_memory): Update. * dcache.c (struct dcache_block): Use gdb_byte for the byte buffers. (dcache_read_line, dcache_xfer_memory, dcache_poke_byte) (dcache_peek_byte, dcache_write_line): Ditto.
2005-05-232005-05-23 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-15/+22
* auxv.h (target_auxv_read, procfs_xfer_auxv) (target_auxv_parse): Use gdb_byte for byte buffer parameters. * auxv.c (target_auxv_read, procfs_xfer_auxv, target_auxv_parse) (target_auxv_search, fprint_target_auxv): Update.
2005-05-23Approved by nickc@redhat.com:Fred Fish4-30/+67
2005-05-23 Fred Fish <fnf@specifixinc.com> * addr2line.c (unwind_inlines): New flag for 'i' option. (usage): Document '-i' option. (long_options): Recognize '--inlines'. (translate_addresses): Loop, calling bfd_find_inliner_info as necessary and printing multiple output lines. (main): Handle 'i' option. * doc/binutils.texi (addr2line): Document '-i' option. * NEWS: Mention new addr2line '-i' option.
2005-05-23Approved by nickc@redhat.comFred Fish40-4/+325
2005-05-23 Fred Fish <fnf@specifixinc.com> * dwarf2.c (struct dwarf2_debug): Add inliner_chain member. (struct funcinfo): Add caller_func, caller_file, caller_line. tag, and nesting_level members. (lookup_address_in_function_table): Change first passed parameter from "struct funcinfo *" to "struct comp_unit *". (lookup_address_in_function_table): Dereference unit to find function table. (lookup_address_in_function_table): Traverse the function list to create a chain of inlined functions back to the first non inlined function. (scan_unit_for_functions): Remember tag and nesting level. Handle DW_AT_call_file and DW_AT_call_line. (comp_unit_find_nearest_line): Adjust lookup_address_in_function_table call to pass unit pointer instead of function table pointer. For inlined functions, save pointer to the inliner chain. (_bfd_dwarf2_find_nearest_line): Initialize inliner_chain to NULL. (_bfd_dwarf2_find_inliner_info): New function that returns information from the inliner chain after a call to bfd_find_nearest_line. * bfd.c (bfd_find_inliner_info): Define using BFD_SEND. * targets.c (BFD_JUMP_TABLE_SYMBOLS): Add entry for NAME##_find_inliner_info. (bfd_target): Add _bfd_find_inliner_info. * bfd-in2.h: Regenerate. * libbfd-in.h (_bfd_nosymbols_find_inliner_info): Define as macro that always returns bfd_false. (_bfd_dwarf2_find_inliner_info): Declare. * libbfd.h: Regenerate. * elf32-arm.c (elf32_arm_find_inliner_info): New function that calls _bfd_dwarf2_find_inliner_info. (bfd_elf32_find_inliner_info): Define to elf32_arm_find_inliner_info. * elfxx-mips.c (_bfd_mips_elf_find_inliner_info): New function that calls _bfd_dwarf2_find_inliner_info. * elfxx-mips.h (_bfd_mips_elf_find_inliner_info): Declare. * elfn32-mips.c (bfd_elf32_find_inliner_info): Define to _bfd_mips_elf_find_inliner_info. * elf64-mips.c (bfd_elf64_find_inliner_info): Ditto. * elf32-mips.c (bfd_elf32_find_inliner_info): Ditto. * elf.c (_bfd_elf_find_inliner_info): New function that calls _bfd_dwarf2_find_inliner_info. * elf-bfd.h (_bfd_elf_find_inliner_info): Declare. * elfxx-target.h (bfd_elfNN_find_inliner_info): Define to _bfd_elf_find_inliner_info. * coffgen.c (coff_find_inliner_info): New function that calls _bfd_dwarf2_find_inliner_info. * libcoff-in.h (coff_find_inliner_info): Declare. * libcoff.h: Regenerate. * coff-rs6000.c (rs6000coff_vec): Add coff_find_inliner_info. (pmac_xcoff_vec) Ditto. * coff64-rs6000.c (rs6000coff64_vec): Ditto. (aix5coff64_vec): Ditto. * aout-target.h (MY_find_inliner_info): Define as _bfd_nosymbols_find_inliner_info. * aout-tic30.c (MY_find_inliner_info): Ditto. * binary.c (binary_find_inliner_info): Ditto. * i386msdos.c (msdos_find_inliner_info): Ditto. * ihex.c (ihex_find_inliner_info): Ditto. * libaout.h (aout_32_find_inliner_info): Ditto. * libecoff.h (_bfd_ecoff_find_inliner_info): Ditto. * mach-o.c (bfd_mach_o_find_inliner_info): Ditto. * mmo.c (mmo_find_inliner_info): Ditto. * nlm-target.h (nlm_find_inliner_info): Ditto. * pef.c (bfd_pef_find_inliner_info): Ditto. * ppcboot.c (ppcboot_find_inliner_info): Ditto. * srec.c (srec_find_inliner_info): Ditto. * tekhex.c (tekhex_find_inliner_info): Ditto. * versados.c (versados_find_inliner_info): Ditto. * xsym.c (bfd_sym_find_inliner_info): Ditto. * ieee.c (ieee_find_inliner_info): New function that always returns FALSE. * oasys.c (oasys_find_inliner_info): Ditto. * vms.c (vms_find_inliner_info): Ditto.
2005-05-23 * hppa.h (FLAG_STRICT): Correct comment.Dave Anglin2-423/+555
(pa_opcodes): Update load and store entries to allow both PA 1.X and PA 2.0 mneumonics when equivalent. Entries with cache control completers now require PA 1.1. Adjust whitespace.
2005-05-23 * elf32-ppc.c (ppc_elf_check_relocs): For old gcc -fPIC codeAlan Modra2-4/+27
force old plt layout.
2005-05-23(fetch_indirect_string): Display a warning message when a corruptNick Clifton2-4/+17
DW_FORM_strp value is encountered. (process_debug_info): Mention that the compilation unit offset is being displayed in hexadecimal. (display_debug_lines): Fix typo in name of .debug_line section.
2005-05-232005-05-23 Orjan Friberg <orjanf@axis.com>Orjan Friberg5-1/+536
* linux-cris-low.c: New file with support for CRIS. * linux-crisv32-low.c: Ditto for CRISv32. * Makefile.in (SFILES): Add linux-cris-low.c, linux-crisv32-low.c. (clean): Add reg-cris.c and reg-crisv32.c. Add linux-cris-low.o, linux-crisv32-low.o, reg-cris.o, reg-cris.c, reg-crisv32.o, and reg-crisv32.c to make rules. * configure.srv: Add cris-*-linux* and crisv32-*-linux* to list of recognized targets.
2005-05-23* Last commit contained the wrong ChangeLog entry.Orjan Friberg1-2/+1
2005-05-232005-05-23 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-2/+7
* cris-tdep.c: Tweak values for cris-mode.
2005-05-232005-05-23 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-6/+20
* gdb.texinfo (CRIS): Update the cris-version and cris-dwarf2-cfi documentation. Add documentation for cris-mode.
2005-05-23 * mdebugread.c (record_minimal_symbol): New procedure.Joel Brobecker2-22/+97
(parse_partial_symbols): Use record_minimal_symbol to record the new minimal symbols instead of prim_record_minimal_symbol and prim_record_minimal_symbol_and_info.
2005-05-23 * elf64-alpha.c (elf64_alpha_relax_section): Ignore non-allocatedRichard Henderson2-15/+37
sections. (elf64_alpha_check_relocs): Likewise. (elf64_alpha_relocate_section): Don't emit dynamic relocations to non-allocated sections.
2005-05-23*** empty log message ***gdbadmin1-1/+1