Daniel Jacobowitz
c5edf76a75
* dwarf2read.c (dwarf2_objfile_data_key): New.
...
(struct dwarf2_per_objfile, dwarf2_per_objfile): New.
(dwarf_info_size, dwarf_abbrev_size, dwarf_line_size)
(dwarf_pubnames_size, dwarf_aranges_size, dwarf_loc_size)
(dwarf_macinfo_size, dwarf_str_size, dwarf_ranges_size)
(dwarf_frame_size, dwarf_eh_frame_size, dwarf_info_buffer)
(dwarf_abbrev_buffer, dwarf_line_buffer, dwarf_str_buffer)
(dwarf_macinfo_buffer, dwarf_ranges_buffer, dwarf_loc_buffer):
Remove variables.
(struct dwarf2_pinfo): Remove per-objfile members. Update comments.
(DWARF_ABBREV_SIZE, DWARF_LINE_SIZE)
(DWARF_LOC_SIZE, DWARF_MACINFO_SIZE, DWARF_STR_SIZE)
(DWARF_RANGES_SIZE, DWARF_INFO_BUFFER)
(DWARF_ABBREV_BUFFER, DWARF_LINE_BUFFER, DWARF_STR_BUFFER)
(DWARF_MACINFO_BUFFER, DWARF_RANGES_BUFFER, DWARF_LOC_BUFFER):
Remove macros.
(dwarf2_has_info): Take an objfile argument. Allocate per-objfile
data.
(dwarf2_locate_sections, dwarf2_build_psymtabs)
(dwarf2_build_psymtabs_easy, dwarf2_build_psymtabs_hard)
(skip_one_die, dwarf2_get_pc_bounds, dwarf2_read_abbrevs)
(read_partial_die, read_full_die, read_indirect_string)
(dwarf_decode_line_header, dwarf_decode_macros)
(dwarf2_symbol_mark_computed): Remove use of removed macros.
Update uses of removed variables.
(psymtab_to_symtab_1): Restore per-objfile data pointer. Remove use
of removed macros.
(_initialize_dwarf2_read): New function.
* symfile.h (dwarf2_has_info): Update prototype.
* coffread.c (coff_symfile_read): Update call to dwarf2_has_info.
* elfread.c (elf_symfile_read): Likewise.
2004-04-02 19:23:05 +00:00
H.J. Lu
a4d7b4b518
2004-04-02 H.J. Lu <hongjiu.lu@intel.com>
...
* elf32-cr16c.c (elf32_cr16c_relocate_section): Use
RELOC_FOR_GLOBAL_SYMBOL.
(elf32_cr16c_add_symbol_hook): Remove const from Elf_Internal_Sym.
2004-04-02 15:26:04 +00:00
H.J. Lu
1f433d93ad
2004-04-02 H.J. Lu <hongjiu.lu@intel.com>
...
* elf32-arm.h (elf32_arm_final_link_relocate): Handle
R_ARM_ALU* only if OLD_ARM_ABI is not defined.
2004-04-02 15:25:05 +00:00
Daniel Jacobowitz
6502dd734b
* dwarf2read.c (dwarf2_objfile_data_key): New.
...
(struct dwarf2_per_objfile, dwarf2_per_objfile): New.
(dwarf_info_size, dwarf_abbrev_size, dwarf_line_size)
(dwarf_pubnames_size, dwarf_aranges_size, dwarf_loc_size)
(dwarf_macinfo_size, dwarf_str_size, dwarf_ranges_size)
(dwarf_frame_size, dwarf_eh_frame_size, dwarf_info_buffer)
(dwarf_abbrev_buffer, dwarf_line_buffer, dwarf_str_buffer)
(dwarf_macinfo_buffer, dwarf_ranges_buffer, dwarf_loc_buffer):
Remove variables.
(struct dwarf2_pinfo): Remove per-objfile members. Update comments.
(DWARF_ABBREV_SIZE, DWARF_LINE_SIZE)
(DWARF_LOC_SIZE, DWARF_MACINFO_SIZE, DWARF_STR_SIZE)
(DWARF_RANGES_SIZE, DWARF_INFO_BUFFER)
(DWARF_ABBREV_BUFFER, DWARF_LINE_BUFFER, DWARF_STR_BUFFER)
(DWARF_MACINFO_BUFFER, DWARF_RANGES_BUFFER, DWARF_LOC_BUFFER):
Remove macros.
(dwarf2_has_info): Take an objfile argument. Allocate per-objfile
data.
(dwarf2_locate_sections, dwarf2_build_psymtabs)
(dwarf2_build_psymtabs_easy, dwarf2_build_psymtabs_hard)
(skip_one_die, dwarf2_get_pc_bounds, dwarf2_read_abbrevs)
(read_partial_die, read_full_die, read_indirect_string)
(dwarf_decode_line_header, dwarf_decode_macros)
(dwarf2_symbol_mark_computed): Remove use of removed macros.
Update uses of removed variables.
(psymtab_to_symtab_1): Restore per-objfile data pointer. Remove use
of removed macros.
(_initialize_dwarf2_read): New function.
* symfile.h (dwarf2_has_info): Update prototype.
* coffread.c (coff_symfile_read): Update call to dwarf2_has_info.
* elfread.c (elf_symfile_read): Likewise.
2004-04-02 04:35:46 +00:00
Kaz Kojima
f55629b89c
[gas]
...
2004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
Dhananjay Deshpande <dhananjayd@kpitcummins.com>
* config/tc-sh.c (dont_adjust_reloc_32): New variable.
(sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
dont_adjust_reloc_32 is set.
(md_longopts): Add option -renesas.
(md_parse_option, md_show_usage): Likewise.
* doc/c-sh.texi: Likewise.
[gas/testsuite]
2004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
* gas/sh/renesas-1.s, gas/sh/renesas-1.d: New test for -renesas
option.
* gas/sh/basic.exp: Run the new test.
2004-04-02 01:39:31 +00:00
Alan Modra
afb7d967cb
daily update
2004-04-02 00:00:06 +00:00
gdbadmin
fdb80e5163
*** empty log message ***
2004-04-02 00:00:03 +00:00
Jim Blandy
9f74450152
* rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): New, unified
...
function for register numbers on all the rs6000-derived targets.
(rs6000_gdbarch_init): Don't register a separate
gdbarch_dwarf2_reg_to_regnum function for the E500. Use
rs6000_dwarf2_stab_reg_to_regnum for both Dwarf 2 and stabs on all
variants.
2004-04-01 21:00:59 +00:00
Joel Brobecker
d40d2c921c
* lib/ada.exp: Add copyright notice.
...
* bar.ads: Likewise.
* bar.adb: Likewise.
* null_record.adb: Likewise.
* null_record.exp: Likewise.
* gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
2004-04-01 18:42:08 +00:00
Jim Blandy
408752b0e1
* i386-tdep.c: Add FIXME regarding STABS vs. Dwarf 2 register
...
numbering.
2004-04-01 18:14:03 +00:00
Joel Brobecker
f86ef5a3a2
* configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
...
* configure: Regenerate.
2004-04-01 17:48:56 +00:00
Joel Brobecker
414e70e3d0
* lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
...
to build the application. Remove the message printed when in
verbose mode, redundant with the UNSUPPORTED message above.
2004-04-01 17:45:48 +00:00
Paul Brook
93204d3a0b
This time the version of the patch that works.
...
* bfd/elf32-arm.h (struct elf32_elf_section_map): New.
(struct _arm_elf_section_data): New.
(elf32_arm_section_data): Define.
(struct elf32_arm_link_hash_table): Add byteswap_code.
(elf32_arm_link_hash_table_create): Initialize byteswap_code.
(bfd_elf32_arm_process_before_allocation): Add byteswap_code.
(elf32_arm_post_process_headers): Set EF_ARM_BE8.
(elf32_arm_output_symbol_hook, elf32_arm_new_section_hook,
elf32_arm_compare_mapping, elf32_arm_write_section): New functions.
(bfd_elf32_new_section_hook, elf_backend_write_section,
elf_backend_link_output_symbol_hook): Define.
2004-04-01 12:32:35 +00:00
Paul N. Hilfinger
2de41bce0f
* valarith.c: Update copyright notice.
...
(value_add): Handle range types.
(value_sub): Ditto.
(value_equal): Ditto.
(value_less): Ditto.
(value_neg): Ditto.
(value_complement): Ditto.
(value_binop): Simplify slightly by using is_integral_type and
eliminiating unnecessary COERCE_ENUMs.
2004-04-01 12:08:30 +00:00
Paul Brook
e489d0aef7
* bfd/bfd-in.h (bfd_elf32_arm_process_before_allocation): Update.
...
* bfd/elf32-arm.h (struct elf32_elf_section_map): New.
(struct _arm_elf_section_data): New.
(elf32_arm_section_data): Define.
(struct elf32_arm_link_hash_table): Add byteswap_code.
(elf32_arm_link_hash_table_create): Initialize byteswap_code.
(bfd_elf32_arm_process_before_allocation): Add byteswap_code.
(elf32_arm_post_process_headers): Set EF_ARM_BE8.
(elf32_arm_output_symbol_hook, elf32_arm_new_section_hook,
elf32_arm_compare_mapping, elf32_arm_write_section): New functions.
(bfd_elf32_new_section_hook, elf_backend_write_section,
elf_backend_link_output_symbol_hook): Define.
* ld/emultempl/armelf.em (byteswap_code): Add.
(arm_elf_before_allocation): Pass extra parameter.
(PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
* ld/emultempl/armelf_oabi.em: Pass extra parameter.
* ld/ld.texinfo: Document --be8.
2004-04-01 11:20:04 +00:00
Nick Clifton
935a41f543
(display_debug_pubnames): Align offset and data columns.
...
(read_and_display_attr_value): Add missing break;
(debug_displays): Enable the display of the .debug_pubtypes section.
2004-04-01 10:07:44 +00:00
Nick Clifton
66a695f0b6
(struct stab_link_includes_totals): Add field 'symb' that keeps the characters
...
in a B_INCL..B_EINCL range.
(_bfd_link_section_stabs): When computing the sum of the characters in a
B_INCL..B_EINCL range also keep a copy of those characters. Use this
information to distinguish between include sections that have the same sum
and the same length but which are nevertheless unique.
2004-04-01 08:40:05 +00:00
Nick Clifton
a7844384e8
Correctly emit lo16 relocs for elf-dlx target, fixing bogus range checking bug.
2004-04-01 08:22:47 +00:00
DJ Delorie
fe046a1715
merge from gcc
2004-04-01 02:00:55 +00:00
Joel Brobecker
f0aaee4940
* gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
...
* gdb.ada (null_record.exp): New testcase.
2004-04-01 00:58:00 +00:00
Joel Brobecker
ac81cb5421
* Makefile.in (ALL_SUBDIRS) Add gdb.ada.
2004-04-01 00:55:48 +00:00
Joel Brobecker
854af2f7b2
* gdb.ada: New subdirectory.
...
* gdb.ada/Makefile.in: New file.
* gdb.ada/gnat_ada.gpr.in: New file.
2004-04-01 00:53:51 +00:00
Joel Brobecker
034cb68144
* lib/ada.exp: New file.
2004-04-01 00:51:13 +00:00
gdbadmin
c92be87b3c
*** empty log message ***
2004-04-01 00:00:32 +00:00
Alan Modra
a069bde034
daily update
2004-04-01 00:00:06 +00:00
Andrew Cagney
5613d8d3a3
2004-03-31 Andrew Cagney <cagney@redhat.com>
...
* frame.h (frame_unwind_id): Declare.
* frame.c (frame_unwind_id): New function.
(get_prev_frame_1): New function.
(frame_debug_got_null_frame): New function.
(get_prev_frame): Use frame_debug_got_null_frame. Move unwind
code proper to prev_frame, update description.
* infrun.c (step_over_function): Use frame_unwind_id.
2004-03-31 19:40:28 +00:00
Joel Brobecker
c4557624e5
* hppa-tdep.c (hppa32_push_dummy_call): Set the Stack Pointer.
...
(hppa64_push_dummy_call): Likewise.
2004-03-31 17:44:09 +00:00
Paul Brook
8375c36b6a
* elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*.
...
* elfarm-nabi.c (elf32_arm_howto_table): Ditto.
2004-03-31 10:20:12 +00:00
Nick Clifton
a56b48eb0f
(struct stab_link_includes_totals): Rename field 'total' to 'sum_chars'
...
and add field 'num_chars'.
(_bfd_link_section_stabs): When computing the sum of the characters in a
B_INCL..B_EINCL range also keep a count of the number of characters. Use
this information to help distinguish between include sections when have
the same sum but which nevertheless are still unique.
2004-03-31 09:27:40 +00:00
Nick Clifton
3d45646427
(_bfd_link_section_stabs): Do not skip N_EXCL stabs.
2004-03-31 08:45:00 +00:00
gdbadmin
54ac5761ec
*** empty log message ***
2004-03-31 00:00:06 +00:00
Alan Modra
097846510d
daily update
2004-03-31 00:00:05 +00:00
DJ Delorie
f29d4bb82d
merge from gcc
2004-03-30 20:03:09 +00:00
Stan Shebs
7cc8057ae4
Remove long-obsolete MPW support.
...
* mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
* Makefile.am (mpw): Remove file-presynthesizing actions.
* Makefile.in: Likewise.
* ldfile.c (slash): Remove MPW case.
* ldlex.l [MPW]: Remove unused definition.
2004-03-30 20:02:04 +00:00
Stan Shebs
92e25cf8fd
* mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
...
support files, no longer used.
2004-03-30 19:20:58 +00:00
Stan Shebs
6c71dbc457
Remove long-obsolete MPW support.
...
* mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
* configure.in: Remove mention of ppc-*-mpw* config.
* configure.in: Likewise.
[testsuite/ChangeLog]
* gas/macros/macros.exp: Remove mention of MPW config.
2004-03-30 18:43:17 +00:00
Jim Blandy
3e6bb910c3
From Ulrich Weigand:
...
* utils.c (query): Do not use a va_list variable multiple times.
2004-03-30 15:44:16 +00:00
Nick Clifton
0949843db2
Add (linker) support for CR16C processor
2004-03-30 14:04:32 +00:00
Jakub Jelinek
baaff79e16
* elf.c (map_sections_to_segments): Fix handling of .tbss.
2004-03-30 09:58:28 +00:00
Jakub Jelinek
adacfc8184
* binutils-all/objcopy.exp: Accept main as a data symbol as well.
2004-03-30 09:54:15 +00:00
Nick Clifton
0a159ef8da
Updated Swedish translation
2004-03-30 09:48:30 +00:00
Nick Clifton
f4453dfa0a
Fix bug parsing shigh(0xffff8000)
2004-03-30 09:29:19 +00:00
Nick Clifton
7cc69913c2
make use of meabi_flags be ELF specific
2004-03-30 08:53:05 +00:00
Alan Modra
6dbf3ba0fa
daily update
2004-03-30 00:00:07 +00:00
gdbadmin
cacaa2c161
*** empty log message ***
2004-03-30 00:00:06 +00:00
Richard Sandiford
11d66e667f
Fix date in last delta.
2004-03-29 22:01:45 +00:00
Richard Sandiford
a584aa6330
* sim/mips/hilo-hazard-[123].s: New files.
...
* sim/mips/basic.exp (run_hilo_test): New procedure.
(models): Only list models that are included in the configuration.
(submodels): New variable, set to submodels of the above.
(mips64vr-*-elf, mips64vrel-*-elf): New configuration stanza.
Run hilo-hazard-[123].s.
2004-03-29 21:58:01 +00:00
Richard Sandiford
0e1b7197a4
* sim-main.h (MIPS_MACH_HAS_MT_HILO_HAZARD)
...
(MIPS_MACH_HAS_MULT_HILO_HAZARD, MIPS_MACH_HAS_DIV_HILO_HAZARD): New.
* mips.igen (check_mt_hilo, check_mult_hilo, check_div_hilo): Provide
separate implementations for mipsIV and mipsV. Use new macros to
determine whether the restrictions apply.
2004-03-29 21:56:02 +00:00
Stan Shebs
9b0de91afe
* mpw-config.in, mpw-make.sed: Remove MPW support files, no longer
...
used.
2004-03-29 18:09:09 +00:00
Daniel Jacobowitz
a2f23071c9
* Makefile.in (linux_nat_h): Update dependencies.
...
* configure.in: Check for <gnu/libc-version.h>.
* configure: Regenerate.
* config.in: Regenerate.
* linux-nat.h: Include "target.h". Add waitstatus field to
struct lwp_info.
* lin-lwp.c (add_lwp): Initialize waitstatus.kind.
(lin_lwp_attach_lwp): Don't attach to LWPs we have already attached
to.
(lin_lwp_handle_extended): New function. Handle clone events.
(wait_lwp): Use lin_lwp_handle_extended. Update comment about
thread exit events.
(child_wait): Handle clone events.
(lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events.
* linux-nat.c (linux_enable_event_reporting): Turn on
PTRACE_O_TRACECLONE.
(linux_handle_extended_wait): Handle clone events.
* thread-db.c: Include <gnu/libc-version.h>.
(struct private_thread_info): Add dying flag.
(enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and
higher.
(attach_thread): Update comments. Handle dying threads.
(detach_thread): Set the dying flag.
(check_event): Always call attach_thread.
2004-03-29 18:07:14 +00:00