Joel Brobecker
3c9c013acb
* gdb.texinfo (Print Settings): Add documentation for set/show
...
print array-indexes.
2005-10-03 22:26:54 +00:00
Bob Wilson
d638e0acb3
* elf32-xtensa.c (relocations_reach): Skip range check for
...
absolute literals.
2005-10-03 21:49:17 +00:00
Bob Wilson
4945bb8a8e
Add Sterling Augustine's name to my change on 2005-09-30.
2005-10-03 21:42:23 +00:00
Joel Brobecker
705335ead4
* gdb.base/arrayidx.c: New file.
...
* gdb.base/arrayidx.exp: New testcase.
2005-10-03 21:28:04 +00:00
Joel Brobecker
e79af960e2
2005-10-03 Joel Brobecker <brobecker@adacore.com>
...
* language.h (language_defn): New field la_print_array_index.
(LA_PRINT_ARRAY_INDEX): New macro.
(default_print_array_index): Add declaration.
* language.c (default_print_array_index): new function.
(unknown_language): Add value for new field.
(auto_language): Likewise.
(local_language): Likewise.
* ada-lang.c (ada_print_array_index): New function.
(ada_language_defn): Add value for new field.
* c-lang.c (c_language_defn): Likewise.
(cpluc_language_defn): Likewise.
(asm_language_defn): Likewise.
(minimal_language_defn): Likewise.
* f-lang.c (f_language_defn): Likewise.
* jv-lang.c (java_language_defn): Likewise.
* m2-lang.c (m2_language_defn): Likewise.
* objc-lang.c (objc_language_defn): Likewise.
* p-lang.c (pascal_language_defn): Likewise.
* scm-lang.c (scm_language_defn): Likewise.
* valprint.h (print_array_indexes_p): Add declaration.
(get_array_low_bound): Add declaration.
(maybe_print_array_index): Add declaration.
* valprint.c (print_array_indexes): New static variable.
(show_print_array_indexes): New function.
(print_array_indexes_p): New function.
(get_array_low_bound): New function.
(maybe_print_array_index): New function.
(val_print_array_elements): Print the index of each element if
requested by the user.
(_initialize_valprint): Add new array-indexes "set/show print" command.
* ada-valprint.c (print_optional_low_bound): Replace extracted code
by call to ada_get_array_low_bound_and_type(). Stop printing the low
bound if indexes will be printed for all elements of the array.
(val_print_packed_array_elements): Print the index of each element
of the array if necessary.
2005-10-03 21:21:20 +00:00
Joel Brobecker
043f5962ba
* hppa-tdep.c (read_unwind_info): Fix typo in comment.
2005-10-03 20:53:01 +00:00
Mark Mitchell
07012eeef2
* addr2line.c (usage): Document @file.
...
* ar.c (usage): Likewise.
* coffdump (usage): Likewise.
* cxxfilt.c (usage): Likewise.
* dlltool.c (usage): Likewise.
* dllwrap.c (usage): Likewise.
* nlmconv.c (usage): Likewise.
* nm.c (usage): Likewise.
* objcopy.c (usage): Likewise.
* objdump.c (usage): Likewise.
* readelf.c (usage): Likewise.
* size.c (usage): Likeise.
* srconv.c (usage): Likewise.
* strings.c (usage): Likewise.
* windres.c (usage): Likewise.
* doc/binutils.texi: Add section on common options.
2005-10-03 19:37:44 +00:00
Catherine Moore
cac3d6c412
Regenerated with 2.13 version of autoconf.
2005-10-03 15:35:57 +00:00
Catherine Moore
376a0e54d8
* configure.in (bfin-*-*): Support bfin.
...
* configure: Regenerated.
2005-10-03 15:11:13 +00:00
H.J. Lu
4de2ad99a5
2005-10-03 H.J. Lu <hongjiu.lu@intel.com>
...
* NEWS: Mention -W/--dwarf.
* doc/binutils.texi: Document -W/--dwarf for objdump.
2005-10-03 14:40:19 +00:00
Nick Clifton
bd42febfb4
oops - delayed commit of addition of Irish translation
2005-10-03 10:53:35 +00:00
Nick Clifton
095f284399
oops - delayed commit for addtion of Irish translation for gprof and opcodes
2005-10-03 10:52:38 +00:00
Nick Clifton
d1eac9d97d
(Infix Ops): '<' and '>' are not shift operators.
2005-10-03 09:41:06 +00:00
Alan Modra
65a7a66f3a
* elf.c (_bfd_elf_get_synthetic_symtab): Set BSF_GLOBAL on
...
synthetic syms.
2005-10-03 03:41:56 +00:00
Alan Modra
9698b410b6
daily update
2005-10-03 00:00:05 +00:00
gdbadmin
8ff11c250f
*** empty log message ***
2005-10-03 00:00:02 +00:00
Daniel Jacobowitz
dfb893afaa
* gdb_gcore.sh: Use a temporary file. Use gdb from $PATH.
2005-10-02 23:01:01 +00:00
gdbadmin
5f9dfa63e9
*** empty log message ***
2005-10-02 03:00:02 +00:00
Paul Brook
11c1ff1859
2005-10-01 Paul Brook <paul@codesourcery.com>
...
* readelf.c (arm_attr_tag_CPU_arch, arm_attr_tag_ARM_ISA_use,
arm_attr_tag_THUMB_ISA_use, arm_attr_tag_VFP_arch,
arm_attr_tag_WMMX_arch, arm_attr_tag_NEON_arch,
arm_attr_tag_ABI_PCS_config, arm_attr_tag_ABI_PCS_R9_use,
arm_attr_tag_ABI_PCS_RW_data, arm_attr_tag_ABI_PCS_RO_DATA,
arm_attr_tag_ABI_PCS_GOT_use, arm_attr_tag_ABI_PCS_wchar_t,
arm_attr_tag_ABI_FP_rounding, arm_attr_tag_ABI_FP_denormal,
arm_attr_tag_ABI_FP_exceptions, arm_attr_tag_ABI_FP_user_exceptions,
arm_attr_tag_ABI_FP_number_model, arm_attr_tag_ABI_align8_needed,
arm_attr_tag_ABI_align8_preserved, arm_attr_tag_ABI_enum_size,
arm_attr_tag_ABI_HardFP_use, arm_attr_tag_ABI_VFP_args,
arm_attr_tag_ABI_WMMX_args, arm_attr_tag_ABI_optimization_goals,
arm_attr_tag_ABI_FP_optimization_goals, arm_attr_public_tags): New.
(display_arm_attribute, process_arm_specific): New functions.
(process_arch_specific): Add EM_ARM.
2005-10-01 02:25:16 +00:00
Alan Modra
4b2e80a669
daily update
2005-10-01 00:00:08 +00:00
gdbadmin
b18ff430e5
*** empty log message ***
2005-10-01 00:00:03 +00:00
Jim Wilson
4520f86864
Fix malformed error message.
...
* ldlang.c (lang_startup): Add missing ": " to einfo call.
2005-09-30 22:10:54 +00:00
Bob Wilson
3ea38ac270
* config/tc-xtensa.c (xtensa_frob_label): Disallow labels in bundles.
2005-09-30 21:58:28 +00:00
Mark Mitchell
c843b1bbc1
* dlltool.c (main): Fix typo.
...
* windres.c (main): Likewise.
2005-09-30 20:04:21 +00:00
H.J. Lu
b898a38504
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
2005-09-30 18:59:46 +00:00
H.J. Lu
d34e7dd6ea
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.in: Regenerated.
2005-09-30 18:50:44 +00:00
H.J. Lu
861e97e2a2
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* sysinfo.y (main): Undo last change.
2005-09-30 18:48:16 +00:00
H.J. Lu
5d038dee61
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
2005-09-30 18:38:50 +00:00
H.J. Lu
fdd3b9b33b
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
2005-09-30 18:05:59 +00:00
H.J. Lu
750877bad8
ld/
...
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (output_statement_hash_entry): New type.
(output_statement_table): New variable for hash table.
(output_statement_newfunc): New function.
(output_statement_table_init): Likewise.
(output_statement_table_free): Likewise.
(lang_init): Call output_statement_table_init.
(lang_finish): Renamed to ...
(lang_end): This.
(lang_process): Updated.
(lang_finish): New function.
(lang_output_section_find_1): Use hash table.
(lang_output_section_statement_lookup_1): Likewise.
* ldlang.h (lang_finish): New.
* ldmain.c (main): Call lang_finish.
ld/testsuite/
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/sec64k.exp: Enabled for all ELF targets.
2005-09-30 17:45:54 +00:00
Mark Mitchell
869b9d07bb
* addr2line.c (main): Likewise.
...
* ar.c (main): Likewise.
* coffdump.c (main): Likewise.
* cxxfilt.c (main): Likewise.
* dlltool.c (main): Likewise.
* dllwrap.c (main): Likewise.
* nlmconv.c (main): Likewise.
* nm.c (main): Likewise.
* objcopy.c (main): Likewise.
* objdump.c (main): Likewise.
* readelf.c (main): Likewise.
* size.c (main): Likeiwse.
* srcconv.c (main): Likewise.
* strings.c (main): Likewise.
* sysdump.c (main): Likewise.
* sysinfo.c (main): Likewise.
* windres.c (main): Likewise.
* ldmain.c (main): Use expandargv.
* gprof.c (main): Use expandargv.
* as.c (main): Use expandargv.
2005-09-30 16:37:32 +00:00
H.J. Lu
58654fd868
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
2005-09-30 16:03:47 +00:00
Jan Beulich
90e3ad060c
gas/
...
2005-09-30 Jan Beulich <jbeulich@novell.com>
* config/tc-tic4x.c (tic4x_set): Advance input_line_pointer past
(removed) comma.
2005-09-30 15:48:24 +00:00
Catherine Moore
0f64bb0271
* Makefile.am: Bfin support.
...
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* archures.c (bfd_mach_bfin): New.
(bfd_arch_bfin): New.
bfd-in.h (bfd_bfin_elf32_create_embedded_relocs): New.
* bfd-in2.h: Regenerated.
* config.bfd: Bfin support.
* configure: Regenerated.
* configure.in: Bfin support.
* libbfd.h: Regenerated.
* reloc.c: Add BFD relocations for Bfin.
* targets.c (bfd_elf32_bfin_vec): New.
* cpu-bfin.c: New file.
* elf32-bfin.c: New file.
2005-09-30 15:36:41 +00:00
Catherine Moore
4b7f6baa0b
* Makefile.am: Bfin support.
...
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* bfin-dis.c: New file.
* configure.in: Bfin support.
* configure: Regenerated.
* disassemble.c (ARCH_bfin): Define.
(disassembler): Add case for bfd_arch_bfin.
2005-09-30 15:28:52 +00:00
Catherine Moore
74c2b7e0f3
* ld-elf/merge.d: Xfail bfin.
2005-09-30 15:24:21 +00:00
Catherine Moore
95f4309b98
* Makefile.am: Bfin support.
...
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* configure.tgt: Bfin support.
* emulparams/bfin.sh: New file.
* emultempl/bfin.em: New file.
2005-09-30 15:23:16 +00:00
Catherine Moore
1d65ded423
* Makefile.am: Bfin support.
...
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* readelf.c (elf/bfin.h): Include.
(guess_is_rela): EM_BLACKFIN support.
(dump_relocations): Likewise.
2005-09-30 15:19:54 +00:00
Catherine Moore
dc603df5ae
* dis-asm.h (print_insn_bfin): Declare.
...
* elf/bfin.h: New file.
* elf/common.h (EM_BLACKFIN): Define.
* opcode/bfin.h: New file.
2005-09-30 15:12:52 +00:00
Catherine Moore
8df55cb8f7
* gas/bfin: New testsuite for bfin.
...
* gas/all/gas.exp (bfin-*-*): Expected failure for alternate
macro syntax.
2005-09-30 15:10:16 +00:00
Catherine Moore
07c1b327c7
* Makefile.am: Bfin support.
...
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* configure: Regenerated.
* configure.in: Bfin support.
* configure.tgt: Bfin support.
* config/bfin-aux.h: New file.
* config/bfin-defs.h: New file.
* config/bfin-lex.l: New file.
* config/bfin-parse.y: New file.
* config/tc-bfin.c: New file.
* config/tc-bfin.h: New file.
* doc/Makefile.am: Recognize c-bfin.texi.
* doc/Makefile.in: Regenerated.
* doc/all.texi: Bfin support.
* doc/as.texinfo: Likewise.
* doc/c-bfin.texi: Document bfin-specific syntax and
directives.
2005-09-30 15:05:07 +00:00
H.J. Lu
bfe2612a14
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* dwarf.c (fetch_indirect_string): Adjust for section address.
(process_debug_info): Likewise.
(display_debug_loc): Likewise.
(display_debug_ranges): Likewise.
* objdump.c (mach_o_dwarf_sections): New.
(generic_dwarf_sections): Likewise.
(check_mach_o_dwarf): Likewise.
(dump_dwarf): Call check_mach_o_dwarf.
2005-09-30 14:57:52 +00:00
H.J. Lu
365544c3f0
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.am (objdump_SOURCES): Add dwarf.c.
* Makefile.in: Regenerated.
* objdump.c: Include "dwarf.h".
(usage): Add -W/--dwarf.
(long_options): Likewise.
(dump_dwarf_section_info): New.
(load_debug_section): Likewise.
(free_debug_section): Likewise.
(dump_dwarf_section): Likewise.
(dump_dwarf): Likewise.
(dump_bfd): Load symbol table and call dump_dwarf if
dump_dwarf_section_info isn't zero.
(main): Handle -W/--dwarf.
2005-09-30 14:56:34 +00:00
H.J. Lu
19e6b90ed8
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.am (CFILES): Add dwarf.c.
(readelf_SOURCES): Likewise.
* Makefile.in: Regenerated.
* dwarf.c: New file.
* dwarf.h. Likewise.
* readelf.c: Include "dwarf.h" instead of "bfd.h".
(do_debug_info): Remove the static definition.
(do_debug_abbrevs): Likewise.
(do_debug_lines): Likewise.
(do_debug_pubnames): Likewise.
(do_debug_aranges): Likewise.
(do_debug_ranges): Likewise.
(do_debug_frames): Likewise.
(do_debug_frames_interp): Likewise.
(do_debug_macinfo): Likewise.
(do_debug_str): Likewise.
(do_debug_loc): Likewise.
(is_relocatable): Likewise.
(have_frame_base): Likewise.
(need_base_address): Likewise.
(eh_addr_size): Likewise.
(error): Likewise.
(warn): Likewise.
(cmalloc): Likewise.
(xcmalloc): Likewise.
(xcrealloc): Likewise.
(dwarf_section): Removed.
(byte_get_little_endian): Likewise.
(byte_get_signed): Likewise.
(byte_get_big_endian): Likewise.
(read_leb128): Likewise.
(State_Machine_Registers): Likewise.
(state_machine_regs): Likewise.
(reset_state_machine): Likewise.
(process_extended_line_op): Likewise.
(debug_str_section): Likewise.
(fetch_indirect_string): Likewise.
(debug_abbrev_section): Likewise.
(abbrev_attr): Likewise.
(first_abbrev): Likewise.
(last_abbrev): Likewise.
(free_abbrevs): Likewise.
(add_abbrev_attr): Likewise.
(process_abbrev_section): Likewise.
(get_TAG_name): Likewise.
(get_FORM_name): Likewise.
(display_block): Likewise.
(decode_location_expression): Likewise.
(debug_info): Likewise.
(debug_information): Likewise.
(num_debug_info_entries): Likewise.
(last_pointer_size): Likewise.
(warned_about_missing_comp_units): Likewise.
(read_and_display_attr_value): Likewise.
(get_AT_name): Likewise.
(read_and_display_attr): Likewise.
(process_debug_info): Likewise.
(get_pointer_size_and_offset_of_comp_unit): Likewise.
(get_debug_info): Likewise.
(display_debug_lines): Likewise.
(display_debug_pubnames): Likewise.
(display_debug_macinfo): Likewise.
(display_debug_abbrev): Likewise.
(display_debug_loc): Likewise.
(display_debug_str): Likewise.
(display_debug_aranges): Likewise.
(display_debug_ranges): Likewise.
(Frame_Chunk): Likewise.
(DW_CFA_unreferenced): Likewise.
(frame_need_space): Likewise.
(frame_display_row): Likewise.
(size_of_encoded_value): Likewise.
(get_encoded_value): Likewise.
(GET): Likewise.
(LEB): Likewise.
(SLEB): Likewise.
(display_debug_frames): Likewise.
(display_debug_not_supported): Likewise.
(debug_displays): Likewise.
(load_debug_section): Updated.
(free_debug_section): Likewise.
(display_debug_section): Likewise.
(process_object): Call free_debug_memory to free debug memory.
2005-09-30 14:55:05 +00:00
H.J. Lu
1007acb31d
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* readelf.c: Reordered.
(is_relocatable): New.
(dwarf_section): New structure for DWARF section.
(load_debug_section): New.
(free_debug_section): Likewise.
(debug_str_section): Likewise.
(debug_abbrev_section): Likewise.
(debug_str_contents): Removed.
(debug_str_size): Likewise.
(debug_loc_contents): Likewise.
(debug_loc_size): Likewise.
(debug_range_contents): Likewise.
(debug_range_size): Likewise.
(load_debug_str): Likewise.
(free_debug_str): Likewise.
(load_debug_loc): Likewise.
(free_debug_loc): Likewise.
(load_debug_arange): Likewise.
(free_debug_arange): Likewise.
(load_debug_abbrev): Likewise.
(free_debug_abbrev): Likewise.
(fetch_indirect_string): Updated.
(debug_apply_rela_addends): Likewise.
(process_debug_info): Likewise.
(get_debug_info): Likewise.
(display_debug_lines): Likewise.
(display_debug_pubnames): Likewise.
(display_debug_macinfo): Likewise.
(display_debug_abbrev): Likewise.
(display_debug_loc): Likewise.
(display_debug_str): Likewise.
(display_debug_info): Likewise.
(display_debug_aranges): Likewise.
(display_debug_ranges): Likewise.
(display_debug_frames): Likewise.
(display_debug_not_supported): Likewise.
(debug_displays): Likewise.
(display_debug_section): Likewise.
(get_file_header): Set is_relocatable.
2005-09-30 14:53:24 +00:00
H.J. Lu
700dd8b755
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* readelf.c (debug_apply_rela_addends): Relocate the whole
section.
(process_debug_info): Don't call debug_apply_rela_addends.
(display_debug_frames): Likewise.
(get_debug_info): Call debug_apply_rela_addends.
(debug_displays): Add the "relocate" field.
(display_debug_section): Call debug_apply_rela_addends if
needed.
2005-09-30 14:52:18 +00:00
H.J. Lu
d320aacbec
2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
...
* configure.in (*-*-darwin*): Build bfd, binutils and opcodes.
* configure: Regenerated.
2005-09-30 14:50:57 +00:00
Paul Brook
e3cb604ed8
2005-09-30 Paul Brook <paul@codesourcery.com>
...
gas/
* config/tc-arm.c (opcode_tag): Add OT_cinfix3_legacy.
(opcode_lookup): Handle OT_cinfix3_legacy. Revert earlier change for
normal infix conditions.
(C3E): Include Thumb-2 definition.
(CL, cCL): Define.
(insns): Use them for legacy mnemonics.
gas/testsuite/
* gas/arm/fpa-mem.s: Remove incorrect comments.
* gas/arm/fpa-mem.d: Update expected results.
2005-09-30 13:34:17 +00:00
Nick Clifton
a70c240376
asintl.h/bucomm.h/ld.h: Prevent the inclusion of <libintl.h> from the Solaris
...
version of <locale.h> when ENABLE_NLS is not defined.
gprof.c (main):Only invoke bindtextdomain() and textdomain() if ENABLE_NLS is
defined.
2005-09-30 11:42:05 +00:00
Alan Modra
7fe2b9a6a6
* elf64-ppc.c (ppc_type_of_stub): Check both func desc and func
...
entry sym before deciding no stub is needed.
(ppc64_elf_size_stubs): When calculating branch destination,
don't use func desc sym for old ABI objects unless func entry
is undefined.
2005-09-30 07:32:50 +00:00