Christian Groessler [Fri, 31 Oct 2003 21:33:59 +0000 (21:33 +0000)]
* config/tc-i860.c (md_pcrel_from): Fix typo in comment.
Andrew Cagney [Fri, 31 Oct 2003 21:13:45 +0000 (21:13 +0000)]
2003-10-31 Andrew Cagney <cagney@redhat.com>
* solib-svr4.c: Update copyright. Include "bfd-target.h" and
"exec.h".
(exec_entry_point): New function.
(enable_break): Create a "tmp_bfd_target", use that and
entry_point_address when computing the relocation offset.
(svr4_relocate_main_executable): Ditto with exec_bfd and exec_ops.
* Makefile.in (solib-svr4.o): Update dependencies.
Andrew Cagney [Fri, 31 Oct 2003 19:19:51 +0000 (19:19 +0000)]
2003-10-31 Andrew Cagney <cagney@redhat.com>
* defs.h (XZALLOC): Define.
* target.h (struct target_ops): Add "to_data";
* bfd-target.h, bfd-target.c: New files.
* Makefile.in (SFILES): Add "bfd-target.c".
(COMMON_OBS): Add "bfd-target.o".
(bfd-target.o): Specify dependencies.
(bfd_target_h): Define.
* defs.h (XZALLOC): Define.
Dave Brolley [Fri, 31 Oct 2003 18:31:36 +0000 (18:31 +0000)]
Fix more typos
Dave Brolley [Fri, 31 Oct 2003 18:25:05 +0000 (18:25 +0000)]
Fix typos.
Dave Brolley [Fri, 31 Oct 2003 18:23:47 +0000 (18:23 +0000)]
2003-10-31 Dave Brolley <brolley@redhat.com>
* frv-sim.h (REGNUM_LR): Removed.
(REGNUM_SPR_MIN,REGNUM_SPR_MAX): New macros.
* frv.c (frvbf_fetch_register): Fetch SPR registers based on
REGNUM_SPR_MIN and REGNUM_SPR_MAX. Check whether SPRs are implemented.
Return 0 for an unimplemented register. Return the length of the data
for an implemented register.
(frvbf_store_register): Ditto.
Andrew Cagney [Fri, 31 Oct 2003 16:37:03 +0000 (16:37 +0000)]
2003-10-31 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): For 64-bit ABI, set
adjust_breakpoint_address.
* Makefile.in (ppc-sysv-tdep.o): Add $(target_h).
* ppc-tdep.h (ppc64_sysv_abi_adjust_breakpoint_address): Declare.
* ppc-sysv-tdep.c: Include "target.h". Update copyright.
(ppc64_sysv_abi_adjust_breakpoint_address): New function.
Andrew Cagney [Fri, 31 Oct 2003 15:25:34 +0000 (15:25 +0000)]
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".
DJ Delorie [Fri, 31 Oct 2003 13:10:32 +0000 (13:10 +0000)]
merge from gcc
Nick Clifton [Fri, 31 Oct 2003 10:27:34 +0000 (10:27 +0000)]
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.
Nick Clifton [Fri, 31 Oct 2003 08:59:18 +0000 (08:59 +0000)]
Minor text corrections
Andrew Cagney [Fri, 31 Oct 2003 05:32:46 +0000 (05:32 +0000)]
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.
gdbadmin [Fri, 31 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Thu, 30 Oct 2003 23:03:36 +0000 (23:03 +0000)]
* i386-tdep.c (i386_supply_fpregset): Support floating-point
registers in `fxsave' format.
(i386_regset_from_core_section): Deal with ".reg-xfp" sections.
Alan Modra [Thu, 30 Oct 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Thu, 30 Oct 2003 22:25:54 +0000 (22:25 +0000)]
* 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.
DJ Delorie [Thu, 30 Oct 2003 21:31:43 +0000 (21:31 +0000)]
merge from gcc
Mark Kettenis [Thu, 30 Oct 2003 21:22:13 +0000 (21:22 +0000)]
* 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.
Mark Kettenis [Thu, 30 Oct 2003 19:41:40 +0000 (19:41 +0000)]
* config/i386/fbsd64.mt (TDEPFILES): Add corelow.o.
* config/i386/fbsd64.mh (NATDEPFILES): Remove corelow.o and
core-regset.o.
Mark Kettenis [Thu, 30 Oct 2003 19:29:40 +0000 (19:29 +0000)]
* fbsd-proc.c (fbsd_make_corefile_notes): Put a "FreeBSD" label in
the ELF header.
DJ Delorie [Thu, 30 Oct 2003 18:39:13 +0000 (18:39 +0000)]
merge from gcc
Jakub Jelinek [Thu, 30 Oct 2003 14:41:37 +0000 (14:41 +0000)]
* 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.
Nick Clifton [Thu, 30 Oct 2003 14:24:02 +0000 (14:24 +0000)]
Do not dump the contents of SHT_NOBITS sections - they have no file space
assigned to their contents.
Alan Modra [Thu, 30 Oct 2003 14:13:50 +0000 (14:13 +0000)]
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Modify versioned
symbol string in place.
Nick Clifton [Thu, 30 Oct 2003 12:01:08 +0000 (12:01 +0000)]
Check the correct arch_info object's mach field: all PowerPC machines are
supersets of the original rs6000, but not later rs6000 machines.
Nick Clifton [Thu, 30 Oct 2003 10:03:03 +0000 (10:03 +0000)]
Add second argument to rcpp instruction.
Nick Clifton [Thu, 30 Oct 2003 09:56:26 +0000 (09:56 +0000)]
oops - use correct version of automake to regenerate Makefile.in
Alan Modra [Thu, 30 Oct 2003 09:50:02 +0000 (09:50 +0000)]
* 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.
Nick Clifton [Thu, 30 Oct 2003 09:47:15 +0000 (09:47 +0000)]
Switch to ELF targeted VxWorks targets
Nick Clifton [Thu, 30 Oct 2003 09:05:14 +0000 (09:05 +0000)]
Remove separate vxworks stanza; merge withother common ELF triples.
gdbadmin [Thu, 30 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 29 Oct 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 29 Oct 2003 22:59:37 +0000 (22:59 +0000)]
* 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.
Mark Kettenis [Wed, 29 Oct 2003 22:53:08 +0000 (22:53 +0000)]
* config/i386/fbsd.mt (TDEPFILES): Add corelow.o.
* config/i386/fbsd.mh (NATDEPFILES): Remove corelow.o and
core-regset.o.
Mark Kettenis [Wed, 29 Oct 2003 22:47:37 +0000 (22:47 +0000)]
* fbsd-proc.c (fbsd_make_corefile_notes): Remove unecessary casts.
Phil Blundell [Wed, 29 Oct 2003 22:33:26 +0000 (22:33 +0000)]
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.
Mark Kettenis [Wed, 29 Oct 2003 20:59:07 +0000 (20:59 +0000)]
* 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.
Nick Clifton [Wed, 29 Oct 2003 19:48:00 +0000 (19:48 +0000)]
Make a generic VxWorks entry
Andrew Cagney [Wed, 29 Oct 2003 19:24:52 +0000 (19:24 +0000)]
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.
Mark Kettenis [Wed, 29 Oct 2003 18:29:07 +0000 (18:29 +0000)]
* objfiles.h (clear_objfile_data): New prototype.
* objfiles.c (clear_objfile_data): New function.
* symfile.c (reread_symbols): Clear per-objfile data.
Nick Clifton [Wed, 29 Oct 2003 18:21:10 +0000 (18:21 +0000)]
Update documentation
Alan Modra [Wed, 29 Oct 2003 13:06:06 +0000 (13:06 +0000)]
* elf64-ppc.c (elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.
(ppc64_elf_grok_prstatus, ppc64_elf_grok_psinfo): New functions.
Alan Modra [Wed, 29 Oct 2003 11:15:24 +0000 (11:15 +0000)]
* 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.
gdbadmin [Wed, 29 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 28 Oct 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Jim Blandy [Tue, 28 Oct 2003 22:04:47 +0000 (22:04 +0000)]
* 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.
Jeff Johnston [Tue, 28 Oct 2003 17:09:12 +0000 (17:09 +0000)]
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.
gdbadmin [Tue, 28 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 27 Oct 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Mon, 27 Oct 2003 20:47:27 +0000 (20:47 +0000)]
* 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.
Andrew Cagney [Mon, 27 Oct 2003 18:53:47 +0000 (18:53 +0000)]
s/post date/commit date/ for change log
Daniel Jacobowitz [Mon, 27 Oct 2003 17:33:44 +0000 (17:33 +0000)]
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Never skip dynamic
objects.
Andrew Cagney [Mon, 27 Oct 2003 16:18:23 +0000 (16:18 +0000)]
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.
Alan Modra [Mon, 27 Oct 2003 14:06:45 +0000 (14:06 +0000)]
* readelf.c (dump_section): Don't display DEL characters.
Michael Chastain [Mon, 27 Oct 2003 13:59:08 +0000 (13:59 +0000)]
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.
Kazu Hirata [Mon, 27 Oct 2003 13:20:32 +0000 (13:20 +0000)]
* 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.
Nick Clifton [Mon, 27 Oct 2003 12:45:38 +0000 (12:45 +0000)]
Do not complain when copying a file format that does not support relocations.
Kazu Hirata [Mon, 27 Oct 2003 12:45:17 +0000 (12:45 +0000)]
* ChangeLog: Fix typos.
* ChangeLog-9295: Likewise.
* as.c: Fix comment typos.
* as.h: Likewise.
* atof-generic.c: Likewise.
* bit_fix.h: Likewise.
* frags.h: Likewise.
* hash.c: Likewise.
* input-file.c: Likewise.
* input-scrub.c: Likewise.
* itbl-ops.c: Likewise.
* itbl-parse.y: Likewise.
* listing.c: Likewise.
* macro.h: Likewise.
* read.c: Likewise.
* sb.c: Likewise.
* sb.h: Likewise.
* symbols.c: Likewise.
* symbols.h: Likewise.
Stephane Carrez [Mon, 27 Oct 2003 11:42:30 +0000 (11:42 +0000)]
* ld-undefined/undefined.exp: Mark as xfail for m6811 and m6812
due to elf/Dwarf2 binutils limitation.
Stephane Carrez [Mon, 27 Oct 2003 10:10:57 +0000 (10:10 +0000)]
* scripttempl/elfm68hc12.sc: Define eeprom memory region.
Stephane Carrez [Mon, 27 Oct 2003 10:01:51 +0000 (10:01 +0000)]
* gas/m68hc11/opers12-dwarf2.d: Update, local label prefix removed.
* gas/m68hc11/lbranch-dwarf2.d: Update.
Stephane Carrez [Mon, 27 Oct 2003 09:57:59 +0000 (09:57 +0000)]
* config/tc-m68hc11.c: Convert to ISO C90.
* config/tc-m68hc11.h: Likewise.
Stephane Carrez [Mon, 27 Oct 2003 09:26:13 +0000 (09:26 +0000)]
* m68hc11-dis.c: Convert to ISO C90 prototypes.
Kevin Buettner [Mon, 27 Oct 2003 06:30:49 +0000 (06:30 +0000)]
Revert small portion of previous commit. (Delete a #if 0 and #endif that I
had added for testing.)
Kevin Buettner [Mon, 27 Oct 2003 06:26:12 +0000 (06:26 +0000)]
* frv-tdep.c (frv_register_raw_size, frv_register_virtual_size):
Delete.
(frv_register_type): Rename from frv_register_virtual_type. Add
``struct gdbarch *'' parameter.
(frv_gdbarch_init): Delete calls to the following functions:
set_gdbarch_deprecated_size(),
set_gdbarch_deprecated_register_bytes(),
set_gdbarch_deprecated_register_raw_size(),
set_gdbarch_deprecated_max_register_raw_size(),
set_gdbarch_deprecated_register_virtual_size(),
set_gdbarch_deprecated_max_register_virtual_size(),
set_gdbarch_deprecated_register_virtual_size(),
set_gdbarch_deprecated_register_virtual_type().
Add call to function set_gdbarch_register_type().
Kazu Hirata [Mon, 27 Oct 2003 00:06:06 +0000 (00:06 +0000)]
* doc/c-sh64.texi: Fix a typo.
gdbadmin [Mon, 27 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 26 Oct 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Kazu Hirata [Sun, 26 Oct 2003 18:12:03 +0000 (18:12 +0000)]
* doc/c-alpha.texi: Fix typos.
* doc/c-ia64.texi: Likewise.
* doc/c-mmix.texi: Likewise.
* doc/c-sh64.texi: Likewise.
* doc/c-xtensa.texi: Likewise.
* doc/internals.texi: Likewise.
Mark Kettenis [Sun, 26 Oct 2003 15:05:54 +0000 (15:05 +0000)]
Fix typo.
Mark Kettenis [Sun, 26 Oct 2003 15:03:42 +0000 (15:03 +0000)]
* i386-tdep.h (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM,
FDOFF_REGNUM): Remove defines.
* win32-nat.c (do_child_fetch_inferior_registers): Include
"i387-tdep.h".
(do_child_fetch_inferior_registers): Use I387_FISEG_ST0_REGNUM and
I387_FOP_REGNUM instead of FCS_REGNUM and FOP_REGNUM. Define and
undefine I387_ST0_REGNUM.
Mark Kettenis [Sun, 26 Oct 2003 14:47:26 +0000 (14:47 +0000)]
* i386-tdep.h (FPU_REG_RAW_SIZE): Remove define.
* x86-64-tdep.c (x86_64_store_return_value): Use
I386_MAX_REGISTER_SIZE instead of FPU_REG_RAW_SIZE.
Mark Kettenis [Sun, 26 Oct 2003 13:08:57 +0000 (13:08 +0000)]
Change register numbers to enumartion values.
* i386-tdep.h (enum i386_regnum): New.
(I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
I386_EBP_REGNUM, I386_IP_REGNUM, I386_EFLAGS_REGNUM,
I386_ST0_REGNUM): Remove defines.
* i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM,
I386_EDI_REGNUM): Remove defines.
gdbadmin [Sun, 26 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 25 Oct 2003 23:00:07 +0000 (23:00 +0000)]
daily update
Kazu Hirata [Sat, 25 Oct 2003 16:26:30 +0000 (16:26 +0000)]
* ChangeLog-9197: Fix typos.
* NEWS: Likewise.
* ld.texinfo: Likewise.
* ldlang.c: Fix comment typos.
gdbadmin [Sat, 25 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 25 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Fri, 24 Oct 2003 20:24:06 +0000 (20:24 +0000)]
2003-10-24 Andrew Cagney <cagney@redhat.com>
* target.c: Include "gdbcore.h".
(get_target_memory, get_target_memory_unsigned): New functions.
* target.h (get_target_memory, get_target_memory_unsigned): Declare.
* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr):
Use get_target_memory_unsigned.
* Makefile.in (target.o): Update dependencies.
Michael Chastain [Fri, 24 Oct 2003 19:55:09 +0000 (19:55 +0000)]
2003-10-22 Michael Chastain <mec@shout.net>
* gdb.mi/pthreads.c: Add copyright notice.
H.J. Lu [Fri, 24 Oct 2003 18:55:39 +0000 (18:55 +0000)]
2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_vers_match): Fix a typo.
Andrew Cagney [Fri, 24 Oct 2003 17:37:04 +0000 (17:37 +0000)]
Index: mi/ChangeLog
2003-10-24 Andrew Cagney <cagney@redhat.com>
* tui-out.c: Fix "fortunatly"[sic].
Index: doc/ChangeLog
2003-10-24 Andrew Cagney <cagney@redhat.com>
* annotate.texinfo: Fix "fortunatly"[sic].
2003-10-24 Andrew Cagney <cagney@redhat.com>
* osabi.c (gdbarch_init_osabi): Fix typos, and "fortunatly"[sic].
* PROBLEMS, arch-utils.c, cli-out.c, command.h: Ditto.
* complaints.c, cris-tdep.c, disasm.c, dwarf2-frame.c: Ditto.
* frame.c, frame.h, infcall.c, infcmd.c, infrun.c: Ditto.
* kod.c, mips-tdep.c, regcache.c, regcache.h, remote.c: Ditto.
H.J. Lu [Fri, 24 Oct 2003 15:41:23 +0000 (15:41 +0000)]
2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-elf.c (obj_elf_change_section): Allow SHF_ALLOC
for .interp, .strtab and .symtab. Use specified section
attributes.
H.J. Lu [Fri, 24 Oct 2003 15:40:20 +0000 (15:40 +0000)]
2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_vers_match): Check demangled symbols.
Andrew Cagney [Fri, 24 Oct 2003 15:36:17 +0000 (15:36 +0000)]
2003-10-24 Andrew Cagney <cagney@redhat.com>
* osabi.c (gdbarch_init_osabi): Add comment on 32-bit vs 64-bit.
(can_run_code_for): Use the OO term "singleton".
Richard Sandiford [Fri, 24 Oct 2003 15:18:29 +0000 (15:18 +0000)]
* elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno.
H.J. Lu [Fri, 24 Oct 2003 14:55:14 +0000 (14:55 +0000)]
bfd/
2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up
hash table for real symbols.
include/
2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_elf_version_expr): Add "symbol" and remove
"wildcard".
ld/
2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_vers_match): Check "symbol" instead of
"wildcard" and "pattern". Fix a typo.
(lang_finalize_version_expr_head): Likewise.
(lang_register_vers_node): Likewise.
(realsymbol): New function.
(lang_new_vers_pattern): Set "symbol" and remove "wildcard".
* ldlex.l (V_IDENTIFIER): Allow '\\'.
Nick Clifton [Fri, 24 Oct 2003 09:54:41 +0000 (09:54 +0000)]
Oops - omitted from patch that added a second parameter to lang_memory_region_lookup.
Alan Modra [Fri, 24 Oct 2003 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 24 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Thu, 23 Oct 2003 22:36:14 +0000 (22:36 +0000)]
2003-10-23 Andrew Cagney <cagney@redhat.com>
* Makefile.in (stack.o): Add $(regcache_h).
* stack.c: Include "regcache.h"
(return_command): Rewrite. Use get_frame_id and
get_selected_frame. Eliminate "deprecated_selected_frame". Warn
about unhandled return-values.
* value.h (set_return_value): Delete declaration.
* values.c (set_return_value): Delete function.
Jeff Johnston [Thu, 23 Oct 2003 22:06:37 +0000 (22:06 +0000)]
2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c: (ia64_frame_cache): Add new prev_cfm field.
(pseudo_regs): Add comment regarding register stack registers.
(ia64_alloc_frame_cache): Initialize new prev_cfm field to 0.
(floatformat_valid): New static routine.
(floatformat_ia64_ext): Add name field and set up is_valid routine
to floatformat_valid().
(examine_prologue): For the previous cfm, use
frame_unwind_register()
if the cfm is not stored in a register-stack register. Save the
previous cfm value in the prev_cfm field. Add debug output.
(ia64_frame_this_id): Use frame_id_build_special() to also register
the bsp. Add debug output.
(ia64_sigtramp_frame_this_id): Ditto.
(ia64_frame_prev_register): Look at cache saved_regs for a few more
registers and also add some checks for framelessness before accepting
current register values for fields such as return address. For cfm,
use the cached prev_cfm field if available. Add comment to explain
PSR logic. Add debug output.
(ia64_sigtramp_frame_init_saved_regs): Save the bsp and sp addresses
as part of initialization.
(ia64_sigtramp_frame_cache): Hard-code stack size as it can't be
calculated. Cache the bsp and cfm values.
(ia64_sigtramp_frame_prev_register): Add logic to this routine out
instead of using ia64_frame_prev_register() which doesn't expect most
registers to be saved. The saved values for bsp and sp
can be taken from the cache. Add debug output.
(ia64_push_dummy_call): Use frame_id_build_special() to also register
the bsp.
Jim Blandy [Thu, 23 Oct 2003 21:15:50 +0000 (21:15 +0000)]
* osabi.c (gdbarch_init_osabi): A handler is okay if it's for an
architecture the current arch can run code for --- but not if it's
a superset.
(can_run_code_for): New function.
Michael Snyder [Thu, 23 Oct 2003 18:27:41 +0000 (18:27 +0000)]
2003-10-23 Michael Snyder <msnyder@redhat.com>
* section.c (asection): Fix typo in comment.
H.J. Lu [Thu, 23 Oct 2003 17:52:00 +0000 (17:52 +0000)]
2003-10-23 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfvers/vers.exp (test_ldfail): Add "-Wl," to pass the
linker option from gcc.
Corinna Vinschen [Thu, 23 Oct 2003 09:43:20 +0000 (09:43 +0000)]
* sh.h (EF_SH4A, EF_SH4AL_DSP, EF_SH4_NOFPU, EF_SH4A_NOFPU): New.
(EF_SH_MERGE_MACH): Combine them.
Alan Modra [Thu, 23 Oct 2003 09:03:02 +0000 (09:03 +0000)]
* ld-powerpc/tlsexetoc.d: Correct.
* ld-powerpc/tlstoc.d: Correct.
Alan Modra [Thu, 23 Oct 2003 09:02:33 +0000 (09:02 +0000)]
* elf64-ppc.c (get_tls_mask): Add toc_symndx param, save toc
reloc symbol index to it. Don't allow gd syms in shared libs
to be optimized.
(ppc64_elf_tls_optimize): Adjust get_tls_mask call.
(ppc64_elf_size_stubs): Likewise.
(ppc64_elf_relocate_section): Check that tls relocs are only used
with tls syms, and similarly for non-tls. Correct symbol used
when optimizing toc tls code.
Nick Clifton [Thu, 23 Oct 2003 08:26:19 +0000 (08:26 +0000)]
Add ColdFire test
Jim Wilson [Thu, 23 Oct 2003 06:27:29 +0000 (06:27 +0000)]
* MAINTAINERS: Move myself from paper trail section back to write
after approval section.