Commit Graph

35761 Commits

Author SHA1 Message Date
Kevin Buettner d28e01f471 * mips-tdep.c (mips_find_saved_regs): Make static.
(mips_frame_init_saved_regs): New function.
	(mips_gdbarch_init): Setup FRAME_INIT_SAVED_REGS method.
	* config/mips/tm-mips.h (FRAME_INIT_SAVED_REGS): Delete macro.
	(mips_find_saved_regs): Delete declaration.
2002-08-08 23:32:52 +00:00
Michael Snyder 7dc213a6bb 2002-08-06 Michael Snyder <msnyder@redhat.com>
* config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION.
2002-08-08 22:44:46 +00:00
Jakub Jelinek c366c25e10 * elf32-i386.c (elf_i386_relocate_section): Fill in proper addend
for R_386_TLS_TPOFF32 relocs against symndx 0.
2002-08-08 21:38:27 +00:00
Grace Sainsbury b2dd631140 * remote.c (remote_wait, remote_async_wait): Change
thread_num from int to ULONGEST.
(unpack_varlen_hex): Change result parameter from
int * to ULONGEST *.
2002-08-08 19:45:50 +00:00
Andrew Cagney ea47855f18 2002-08-08 Andrew Cagney <ac131313@redhat.com>
* configure.tgt: Replace powerpc-*-sysv*, powerpc-*-elf*,
powerpcle-*-eabi*, powerpcle-*-sysv* and powerpcle-*-elf* with
powerpc*-*-*.
* MAINTAINERS: Remove redundant rs6000-ibm-aix4.1 target.
2002-08-08 15:37:29 +00:00
Andrew Cagney 69db8baec7 2002-08-08 Andrew Cagney <cagney@redhat.com>
* gcore.c (override_derive_stack_segment): Delete variable.
(preempt_derive_stack_segment): Delete function.
(derive_stack_segment): Delete function.
(default_derive_stack_segment): Renamed to derive_stack_segment.
(override_derive_heap_segment): Delete variable.
(preempt_derive_heap_segment): Delete function.
(derive_heap_segment): Delete function.
(default_derive_heap_segment): Rename to derive_heap_segment.
2002-08-08 14:59:35 +00:00
H.J. Lu 3194163592 Check symbols with undefine version. 2002-08-08 03:50:18 +00:00
Michael Snyder cb811fe799 2002-08-06 Michael Snyder <msnyder@redhat.com>
* config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION.
	* mips-tdep.c (mips_EABI_use_struct_convention,
	mips_OABI_use_struct_convention, mips_NABI_use_struct_convention):
	New functions.  (mips_use_struct_convention): Delete.
	(mips_gdbarch_init): set use_gdbarch_convention.
2002-08-08 00:26:51 +00:00
Alan Modra 7330fb86f2 * elflink.h (elf_link_output_extsym): Don't output symbols from
SEC_EXCLUDE sections.
2002-08-08 00:20:16 +00:00
Alan Modra 0f3bd64fc5 * aoutx.h (aout_link_write_symbols): Correct handling of warning syms. 2002-08-08 00:11:37 +00:00
Alan Modra ac0f9ca57d daily update 2002-08-08 00:00:04 +00:00
gdbadmin ff4d0f4f8e *** empty log message *** 2002-08-08 00:00:03 +00:00
DJ Delorie a2832523bf merge from gcc 2002-08-07 21:01:25 +00:00
Michael Snyder 8b389c40fe 2002-08-06 Michael Snyder <msnyder@redhat.com>
*  mips-tdep.c: gdbarch-ify reg_struct_has_addr.
	(mips_eabi_reg_struct_has_addr, mips_n32n64_reg_struct_has_addr,
	mips_o32_reg_struct_has_addr): New functions.
	(mips_gdbarch_init): Set gdbarch reg_struct_has_addr.
2002-08-07 18:17:26 +00:00
Andrew Cagney 5c27f28ad0 2002-08-07 Andrew Cagney <ac131313@redhat.com>
* regcache.c (pseudo_register): Delete function.
(fetch_register): Delete function.
(store_register): Delete function.
(regcache_raw_read, legacy_read_register_gen): Use
target_fetch_registers instead of fetch_register.
(legacy_write_register_gen, regcache_raw_write): Use
target_store_register instead of store_register.
(write_register_bytes): Ditto.

* gdbarch.sh (FETCH_PSEUDO_REGISTER): Delete.
(STORE_PSEUDO_REGISTER): Delete.
* gdbarch.h, gdbarch.c: Regenerate.
2002-08-07 16:01:58 +00:00
Nick Clifton 2004afbc1d Only search for an interworking bfd if there are input bfds. 2002-08-07 15:22:41 +00:00
Corinna Vinschen 5b3316750e * cli/cli-dump.c (add_dump_command): Explicitely use "b" flag to
write dump file binary.
2002-08-07 08:52:24 +00:00
Alan Modra a4aa0fb7d0 * elf64-ppc.c (edit_opd): Arrange to drop symbols for discarded .opd
entries.
2002-08-07 05:23:09 +00:00
Thiemo Seufer 34ea4a364d * elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness
mismatch.
2002-08-07 04:44:14 +00:00
Thiemo Seufer 141ff9705a * elfxx-mips.c (ABI_64_P): Remove superfluous check. 2002-08-07 04:37:24 +00:00
Thiemo Seufer 28458e7e44 * elf32-mips.c (mips_reloc_map): Fix typo. 2002-08-07 04:32:14 +00:00
Michael Snyder 6acdf5c773 2002-08-05 Michael Snyder <msnyder@redhat.com>
*  mips-tdep.c (mips_find_saved_regs): Adjust stack according
	to MIPS_SAVED_REGSIZE, not GDB_TARGET_IS_MIPS64.  Enhance comment.
	(mips_gdbarch_init): Set N32 target to be mips64.
2002-08-07 00:28:31 +00:00
Alan Modra ca2045c1f6 daily update 2002-08-07 00:00:04 +00:00
gdbadmin d9f21e48eb *** empty log message *** 2002-08-07 00:00:02 +00:00
Kevin Buettner b2f01c350b * frame.c (find_saved_register): Break out of loop once saved
register address is found.  Don't mention sparc in loop comment
	anymore.
2002-08-06 22:42:56 +00:00
Richard Henderson dbac4f5ba8 * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a
and m21264b processor names and cpu types.
        * doc/c-alpha.texi: Documented new types.
2002-08-06 22:06:08 +00:00
Richard Henderson 1b50a3482a Add myself as Alpha maintainer. 2002-08-06 21:58:26 +00:00
Kevin Buettner 63db558029 * mips-tdep.c (mips_gdbarch_init): For the N32 ABI, set
mips_default_saved_regsize to 8.
2002-08-06 19:03:40 +00:00
Andrew Cagney 5e34e75e9e 2002-08-06 Andrew Cagney <ac131313@redhat.com>
* gcore.c: Do not include <sys/procfs.h>.
* Makefile.in (gcore.o): Update dependencies.
2002-08-06 15:53:08 +00:00
Andrew Cagney eb4c54a288 2002-08-06 Andrew Cagney <cagney@redhat.com>
* configure.tgt: Make arc-*-* obsolete.
* NEWS: Mention that arc-*-* has been identifed as obsolete.
* MAINTAINERS: Make arc-elf obsolete.
* arc-tdep.c: Make file obsolete.
* config/arc/arc.mt: Ditto.
* config/arc/tm-arc.h: Ditto.
2002-08-06 14:12:47 +00:00
Alan Modra 7fc44b9cd6 * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
2002-05-10 change.
2002-08-06 11:40:30 +00:00
Alan Modra 86fff92e97 * gas/ppc/altivec_xcoff64.d: Adjust for aix5 target.
* gas/ppc/booke_xcoff64.d: Likewise.  Also fix relocs.
2002-08-06 11:28:01 +00:00
Alan Modra 0121a3da9e * xcofflink.c (xcoff_write_global_symbol): Set n_scnum for abs_section. 2002-08-06 11:24:40 +00:00
Nick Clifton 17240c1ff6 Add hppa-openbsd target 2002-08-06 09:18:28 +00:00
Alan Modra d006db6c06 * elf64-ppc.c (ppc64_elf_howto_raw): Zero all src_mask entries. 2002-08-06 09:09:08 +00:00
Alan Modra 2a52da5326 * libxcoff.h: Use PARAMS on function declarations.
* coff-rs6000.c (xcoff_generate_rtinit): Simplify size calc.
	* coff64-rs6000.c (xcoff64_generate_rtinit): Likewise.
2002-08-06 08:59:34 +00:00
Alan Modra 8ea80f0843 * coff-rs6000.c: (xcoff_rtype2howto): Don't place reloc address in
addend.
	* coff64-rs6000.c: (xcoff64_rtype2howto): Likewise.
2002-08-06 08:51:42 +00:00
Alan Modra cf9ab45bc0 * coff-rs6000.c: Formatting fixes.
(xcoff_calculate_relocation): Use PARAMS in declaration.
	(xcoff_complain_overflow): Likewise.
	(xcoff_ppc_relocate_section): Use old-style function pointer call.
	(bfd_xcoff_backend_data): Remove useless comments.
	(rs6000coff_vec): Likewise.
	(bfd_pmac_xcoff_backend_data): Likewise.
	(pmac_xcoff_vec): Likewise.
	* coff64-rs6000.c: Formatting fixes.
	(xcoff64_calculate_relocation): Use PARAMS in declaration.
	(xcoff64_ppc_relocate_section): Use old-style function pointer call.
	(bfd_xcoff_backend_data): Remove useless comments.
	(rs6000coff64_vec): Likewise.
	(bfd_xcoff_aix5_backend_data): Likewise.
	(aix5coff64_vec): Likewise.
2002-08-06 05:52:29 +00:00
Alan Modra a78eab4eaf * coff-rs6000.c (xcoff_howto_table): Revert some of last change to
mask entries.  Use complain_overflow_dont for R_REF.
	(xcoff_reloc_type_ba): Revert last change.
	(xcoff_reloc_type_br): Likewise.
	(xcoff_reloc_type_crel): Likewise.
	(xcoff_ppc_relocate_section): Likewise.
	* coff64-rs6000.c (xcoff64_reloc_type_br): Likewise.
	(xcoff64_ppc_relocate_section): Likewise.
	(xcoff64_howto_table): Revert some of last change to mask entries.
	Use complain_overflow_dont for R_REF.
2002-08-06 03:18:25 +00:00
Alan Modra 95210096dc * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset. 2002-08-06 02:30:06 +00:00
Alan Modra 48bfecdd71 * coff-rs6000.c (xcoff_howto_table): Fix src_mask entries. Make all
relocs with bitsize == 16 have size = 1.
	(xcoff_reloc_type_ba): Correct src_mask and dst_mask adjustment.
	(xcoff_reloc_type_br): Likewise.
	(xcoff_reloc_type_crel): Likewise.
	(xcoff_ppc_relocate_section): Set up src_mask and dst_mask correctly.
	* coff64-rs6000.c (xcoff64_reloc_type_br): Correct src_mask and
	dst_mask adjustment.
	(xcoff64_ppc_relocate_section): Set up src_mask and dst_mask correctly.
	(xcoff64_howto_table): Fix src_mask entries.  Make all relocs with
	bitsize == 16 have size = 1.
2002-08-06 02:29:25 +00:00
Alan Modra aed3c06f62 daily update 2002-08-06 00:00:08 +00:00
gdbadmin 0ebdfbbcd0 *** empty log message *** 2002-08-06 00:00:02 +00:00
Theodore A. Roth ced15480d0 * gdb/avr-tdep.c(avr_skip_prologue): Fix to return the correct pc. 2002-08-05 17:27:55 +00:00
Andrew Cagney b474382262 2002-08-05 Andrew Cagney <ac131313@redhat.com>
* mcore-tdep.c (mcore_gdbarch_init): Use
generic_unwind_get_saved_register instead of
generic_get_saved_register.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* config/mn10200/tm-mn10200.h (GET_SAVED_REGISTER): Ditto.
* config/h8300/tm-h8300.h (GET_SAVED_REGISTER): Ditto.
2002-08-05 17:12:56 +00:00
Joel Brobecker 3956d554e9 * objfiles.h: Add missing #include "symfile.h"
* Makefile.in (objfiles_h): Add dependency on symfile.h and dependents.
2002-08-05 16:17:41 +00:00
Alan Modra 09de7a7356 * prdbg.c (pr_fix_visibility): Remove assert. 2002-08-05 00:54:11 +00:00
Alan Modra 7dcf061196 daily update 2002-08-05 00:00:04 +00:00
gdbadmin ae9f69648b *** empty log message *** 2002-08-05 00:00:02 +00:00
H.J. Lu e70ad0c695 2002-08-04 H.J. Lu (hjl@gnu.org)
* configure.in (mips*-*-linux*): Don't skip target-libffi.
2002-08-04 23:15:52 +00:00