Andrew Cagney
4b8a223fcb
2003-10-31 Andrew Cagney <cagney@redhat.com>
...
* target.h (struct target_ops): Replace "to_read_partial" and
"to_write_partial" with "to_xfer_partial". Update comments.
* target.c (debug_to_write_partial): Delete function.
(debug_to_xfer_partial): Replace debug_to_read_partial.
(add_target, update_current_target, setup_target_debug): Set
"to_xfer_partial" instead of "to_read_partial" and
"to_write_partial".
(default_xfer_partial): Replace "default_write_partial".
(default_read_partial): Delete.
(target_read_partial, target_write_partial): Call
"to_xfer_partial".
* remote.c (init_remote_ops): Set "to_xfer_partial".
(init_remote_async_ops): Ditto.
(remote_xfer_partial): Replace "remote_read_partial".
2003-10-31 15:25:34 +00:00
DJ Delorie
e7e6980b7e
merge from gcc
2003-10-31 13:10:32 +00:00
Nick Clifton
0013291dce
When looking for a previously loaded file compare the local_sym_name not the
...
filename, as the filename might have been transformed via the search directory
path lookup. If the sought-for file has not been found in the input file
chain then create a new node with the search_dirs_flag set so that the entire
set of directory paths will be scanned for it.
2003-10-31 10:27:34 +00:00
Nick Clifton
83b6e7e845
Minor text corrections
2003-10-31 08:59:18 +00:00
Andrew Cagney
fc0a224429
Index: sim/frv/ChangeLog
...
2003-10-30 Andrew Cagney <cagney@redhat.com>
* traps.c: Replace "struct symbol_cache_entry" with "struct
bfd_symbol".
Index: sim/d10v/ChangeLog
2003-10-30 Andrew Cagney <cagney@redhat.com>
* simops.c: Replace "struct symbol_cache_entry" with "struct
bfd_symbol".
Index: sim/common/ChangeLog
2003-10-30 Andrew Cagney <cagney@redhat.com>
* sim-trace.c, sim-base.h: Replace "struct symbol_cache_entry"
with "struct bfd_symbol".
Index: ld/ChangeLog
2003-10-30 Andrew Cagney <cagney@redhat.com>
* emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry"
with "struct bfd_symbol".
Index: bfd/ChangeLog
2003-10-30 Andrew Cagney <cagney@redhat.com>
* syms.c: Replace "struct symbol_cache_entry" with "struct
bfd_symbol".
* vms.h, targets.c, section.c, reloc.c, peicode.h: Ditto.
* mipsbsd.c, elf.c, linker.c, elf-bfd.h, ecoff.c: Ditto.
* cpu-z8k.c, cpu-ns32k.c, cpu-h8500.c, bfd.c, bfd-in.h: Ditto.
* bfd-in2.h: Re-generate.
2003-10-31 05:32:46 +00:00
gdbadmin
7cb8d4eab6
*** empty log message ***
2003-10-31 00:00:31 +00:00
Mark Kettenis
66a72d250d
* i386-tdep.c (i386_supply_fpregset): Support floating-point
...
registers in `fxsave' format.
(i386_regset_from_core_section): Deal with ".reg-xfp" sections.
2003-10-30 23:03:36 +00:00
Alan Modra
3084807aa6
daily update
2003-10-30 23:00:05 +00:00
Mark Kettenis
e9f1aad5b5
* i386-linux-tdep.c (i386_linux_gregset_reg_offset): New variable.
...
(i386_linux_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and tdep->sizeof_gregset.
2003-10-30 22:25:54 +00:00
DJ Delorie
2382c03f5a
merge from gcc
2003-10-30 21:31:43 +00:00
Mark Kettenis
bb489b3c99
* i386-linux-tdep.c (i386_linux_sc_reg_offset): Don't explicitly
...
specify size of array.
(i386_linux_init_abi): Remove initialization of
TDEP->num_xmm_regs. Use I386_LINUX_NUM_REGS for number of
registers. Use ARRAY_SIZE to initialize TDEP->sc_num_regs.
2003-10-30 21:22:13 +00:00
Mark Kettenis
da285bc432
* config/i386/fbsd64.mt (TDEPFILES): Add corelow.o.
...
* config/i386/fbsd64.mh (NATDEPFILES): Remove corelow.o and
core-regset.o.
2003-10-30 19:41:40 +00:00
Mark Kettenis
9a12a2a0ed
* fbsd-proc.c (fbsd_make_corefile_notes): Put a "FreeBSD" label in
...
the ELF header.
2003-10-30 19:29:40 +00:00
DJ Delorie
686e72d729
merge from gcc
2003-10-30 18:39:13 +00:00
Jakub Jelinek
0aa92b58af
* elfxx-ia64.c: Include objalloc.h, hashtab.h.
...
(struct elfNN_ia64_local_hash_entry): Remove root. Add id and r_sym
fields.
(struct elfNN_ia64_local_hash_table): Remove.
(struct elfNN_ia64_link_hash_table): Change loc_hash_table's type
to htab_t. Add loc_hash_memory field.
(elfNN_ia64_local_hash_table_init, elfNN_ia64_new_loc_hash_entry):
Removed.
(elfNN_ia64_local_htab_hash, elfNN_ia64_local_htab_eq): New
functions.
(elfNN_ia64_hash_table_create): Use hashtab.h hashtable for
loc_hash_table. Initialize loc_hash_memory.
(elfNN_ia64_hash_table_free): New function.
(elfNN_ia64_local_hash_lookup): Remove.
(elfNN_ia64_local_dyn_sym_thunk): Change into htab_traverse
callback.
(elfNN_ia64_dyn_sym_traverse): Use htab_traverse.
(get_local_sym_hash): Use hashtab.h hashtable for loc_hash_table.
(bfd_elfNN_bfd_link_hash_table_free): Define.
2003-10-30 14:41:37 +00:00
Nick Clifton
e69f2d2194
Do not dump the contents of SHT_NOBITS sections - they have no file space
...
assigned to their contents.
2003-10-30 14:24:02 +00:00
Alan Modra
68b6ddd08f
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Modify versioned
...
symbol string in place.
2003-10-30 14:13:50 +00:00
Nick Clifton
3f8b3ef37b
Check the correct arch_info object's mach field: all PowerPC machines are
...
supersets of the original rs6000, but not later rs6000 machines.
2003-10-30 12:01:08 +00:00
Nick Clifton
f46a9fbb7a
Add second argument to rcpp instruction.
2003-10-30 10:03:03 +00:00
Nick Clifton
2b282e8b22
oops - use correct version of automake to regenerate Makefile.in
2003-10-30 09:56:26 +00:00
Alan Modra
482e2e3726
* dwarf2.c (struct attribute): Delete "unsnd", "snd" and "addr".
...
Add "val" and "sval" fields.
(DW_STRING, DW_UNSND, DW_BLOCK, DW_SND, DW_ADDR): Delete.
(read_attribute_value): Expand and adjust DW_* occurrences.
(scan_unit_for_functions, parse_comp_unit): Likewise.
2003-10-30 09:50:02 +00:00
Nick Clifton
325fab4e4e
Switch to ELF targeted VxWorks targets
2003-10-30 09:47:15 +00:00
Nick Clifton
257e20bc32
Remove separate vxworks stanza; merge withother common ELF triples.
2003-10-30 09:05:14 +00:00
gdbadmin
b672e72f5b
*** empty log message ***
2003-10-30 00:00:01 +00:00
Alan Modra
fa7ac28171
daily update
2003-10-29 23:00:04 +00:00
Alan Modra
ddb2b44229
* merge.c (struct sec_merge_sec_info): Update comment.
...
(struct sec_merge_hash_entry): Remove entsize.
(sec_merge_hash_lookup): Only adjust alignment when creating.
(sec_merge_emit): Remove register keyword.
(cmplengthentry, last4_eq, last_eq): Delete.
(strrevcmp, strrevcmp_align, is_suffix): New.
(merge_strings): Use them to implement fast suffix merging.
* elf-strtab.c (struct elf_strtab_hash_entry): Update comments.
Make "len" signed.
(_bfd_elf_strtab_add): Lose on >2G strings.
(_bfd_elf_strtab_emit): Don't emit strings with len < 0.
(cmplengthentry, last4_eq): Delete.
(strrevcmp, is_suffix): New.
(_bfd_elf_strtab_finalize): Rework to implement fast suffix merging.
2003-10-29 22:59:37 +00:00
Mark Kettenis
6d6d8e9cc3
* config/i386/fbsd.mt (TDEPFILES): Add corelow.o.
...
* config/i386/fbsd.mh (NATDEPFILES): Remove corelow.o and
core-regset.o.
2003-10-29 22:53:08 +00:00
Mark Kettenis
25e60c9b2c
* fbsd-proc.c (fbsd_make_corefile_notes): Remove unecessary casts.
2003-10-29 22:47:37 +00:00
Phil Blundell
5e681ec414
2003-10-29 Daniel Jacobowitz <drow@mvista.com>
...
* elf32-arm.h (elf32_arm_final_link_relocate): Move check for
SEC_ALLOC.
2003-10-29 Philip Blundell <philb@gnu.org>
* elf32-arm.h (elf32_arm_plt0_entry, elf32_arm_plt_entry): New
code sequence.
(PLT_HEADER_SIZE): New.
(struct elf32_arm_pcrel_relocs_copied): Rename to ...
(struct elf32_arm_relocs_copied): ... this. Count both
pcrel and non-pcrel relocs. All uses updated.
(struct elf32_arm_link_hash_table): Add pointers to dynamic linker
sections and symbol/section mapping cache.
(create_got_section): New.
(elf32_arm_create_dynamic_sections): New.
(elf_backend_create_dynamic_sections): Use it.
(elf32_arm_final_link_relocate): Support garbage collection of relocs.
(elf32_arm_check_relocs): Likewise.
(elf32_arm_adjust_dynamic_symbol): Likewise.
(elf32_arm_copy_indirect_symbol): New.
(elf32_arm_link_hash_table_create): Initialise new fields.
(elf32_arm_gc_sweep_hook): Implement.
(elf32_arm_discard_copies): Delete.
(elf32_arm_finish_dynamic_symbol): Use new PLT code.
(elf32_arm_finish_dynamic_sections): Likewise.
(elf_backend_can_refcount): Define.
(elf_backend_copy_indirect_symbol): Likewise.
(elf_backend_plt_header_size): Set to PLT_HEADER_SIZE.
2003-10-29 22:33:26 +00:00
Mark Kettenis
0e24ac5d5f
* corelow.c: Include "arch-utils.h", "regset.h" and
...
"gdb_assert.h".
(core_gdbarch): New variable.
(sniff_core_bfd): Don't sniff if we have support for register sets
in CORE_GDBARCH.
(core_close): Reset CORE_GDBARCH.
(core_open): Initialize CORE_GDBARCH.
(get_core_register_section): Use register sets if they are
supported by CORE_GDBARCH.
(get_core_registers): Don't print error message if we have support
for register sets in CORE_GDBARCH.
2003-10-29 20:59:07 +00:00
Nick Clifton
0379c6889b
Make a generic VxWorks entry
2003-10-29 19:48:00 +00:00
Andrew Cagney
0a0a4ac3c6
2003-10-29 Andrew Cagney <cagney@redhat.com>
...
* ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Instead of the
default PPC machine, register 32-bit and 64-bit PPC, and rs6k.
2003-10-29 19:24:52 +00:00
Mark Kettenis
7b097ae392
* objfiles.h (clear_objfile_data): New prototype.
...
* objfiles.c (clear_objfile_data): New function.
* symfile.c (reread_symbols): Clear per-objfile data.
2003-10-29 18:29:07 +00:00
Nick Clifton
83aeabb6dd
Update documentation
2003-10-29 18:21:10 +00:00
Alan Modra
d37c89e56f
* elf64-ppc.c (elf_backend_grok_prstatus): Define.
...
(elf_backend_grok_psinfo): Define.
(ppc64_elf_grok_prstatus, ppc64_elf_grok_psinfo): New functions.
2003-10-29 13:06:06 +00:00
Alan Modra
62f3bb11d4
* elf.c (_bfd_elfcore_make_pseudosection): Allow multiple
...
sections with the same name.
(elfcore_grok_lwpstatus): Likewise.
(elfcore_grok_win32pstatus): Likewise.
(elfcore_grok_note): Likewise.
(elfcore_grok_nto_status): Likewise.
(elfcore_grok_nto_gregs): Likewise.
2003-10-29 11:15:24 +00:00
gdbadmin
4dad41b47a
*** empty log message ***
2003-10-29 00:00:31 +00:00
Alan Modra
d8f18674f1
daily update
2003-10-28 23:00:05 +00:00
Jim Blandy
1d8b2f281d
* gdb.texinfo (The F request packet, The F reply packet): Renamed
...
from "The `F' request packet" and "The `F' reply packet", to make
texi2dvi happy.
(File-I/O remote protocol extension): Update menu entries, too.
2003-10-28 22:04:47 +00:00
Jeff Johnston
46f45a4a37
2003-10-28 Jeff Johnston <jjohnstn@redhat.com>
...
* symfile.c (symbol_file_add_with_addrs_or_offsets): Switch to use
printf_unfiltered instead of printf_filtered for output messages.
(add_symbol_file_command): Ditto.
(reread_symbols): Ditto.
(overlay_auto_command): Ditto.
(overlay_manual_command): Ditto.
(overlay_off_command): Ditto.
2003-10-28 17:09:12 +00:00
gdbadmin
6453410e93
*** empty log message ***
2003-10-28 00:00:02 +00:00
Alan Modra
a0a8e3c341
daily update
2003-10-27 23:00:05 +00:00
Mark Kettenis
2b0266504e
* arch-utils.c (deprecated_select_gdbarch_hack): New function.
...
(gdbarch_from_bfd): New function.
(set_gdbarch_from_file): Re-implement using gdbarch_from_bfd and
deprecated_select_gdbarch_hack.
* arch-utils.h (gdbarch_from_bfd): New prototype.
2003-10-27 20:47:27 +00:00
Andrew Cagney
0bcad58476
s/post date/commit date/ for change log
2003-10-27 18:53:47 +00:00
Daniel Jacobowitz
35a0f41580
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Never skip dynamic
...
objects.
2003-10-27 17:33:44 +00:00
Andrew Cagney
931758afc4
2003-10-24 Andrew Cagney <cagney@redhat.com>
...
* osabi.c (gdbarch_init_osabi): Use info.bfd_arch_info instead of
arch_info. Use warning instead of fprintf_filtered. Do not use
deprecated bfd_printable_arch_mach.
2003-10-27 16:18:23 +00:00
Alan Modra
9376f0c73d
* readelf.c (dump_section): Don't display DEL characters.
2003-10-27 14:06:45 +00:00
Michael Chastain
36d86913b5
2003-10-26 Michael Chastain <mec@shout.net>
...
* gdb.texinfo (Thread Stops): Document the issue with
premature return from system calls in multi-threaded programs.
2003-10-27 13:59:08 +00:00
Kazu Hirata
50c2245bd8
* ChangeLog: Fix typos.
...
* ChangeLog-9197: Likewise.
* ChangeLog-9899: Likewise.
* NEWS: Likewise.
* ar.c: Fix comment typos.
* arsup.c: Likewise.
* coffgrok.c: Likewise.
* debug.c: Likewise.
* debug.h: Likewise.
* dlltool.c: Likewise.
* ieee.c: Likewise.
* nm.c: Likewise.
* objdump.c: Likewise.
* prdbg.c: Likewise.
* readelf.c: Likewise.
* resrc.c: Likewise.
* sysinfo.y: Likewise.
* windres.c: Likewise.
2003-10-27 13:20:32 +00:00
Nick Clifton
ed570f48a0
Do not complain when copying a file format that does not support relocations.
2003-10-27 12:45:38 +00:00