Commit Graph

41855 Commits

Author SHA1 Message Date
Andrew Cagney 47ebcfbef9 2003-11-22 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_register_convertible): Delete function.
	(mips_register_convert_to_virtual): Delete function.
	(mips_register_convert_to_raw): Delete function.
	(mips_gdbarch_init): Do not set "deprecated_register_convertible",
	"deprecated_register_convert_to_virtual", or
	"deprecated_register_convert_to_raw".
	(mips_pseudo_register_write, mips_pseudo_register_read): Handle
	32/64 cooked to raw register conversions.
2003-11-22 23:24:16 +00:00
Andrew Cagney 2a9264f126 2003-11-22 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_get_frame_context): Delete function.
	(deprecated_set_frame_prev_hack): Delete function.
	(struct frame_info): Delete member "context".
	* frame.h (deprecated_get_frame_context): Delete declaration.
	(deprecated_set_frame_context): Delete declaration.
2003-11-22 23:00:37 +00:00
Alan Modra f15b280f12 daily update 2003-11-22 23:00:06 +00:00
Andrew Cagney 7af6341f3b 2003-11-22 Andrew Cagney <cagney@redhat.com>
* procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment.
	* config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro.
	* config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro.
	* config/alpha/nm-osf2.h (FAULTED_USE_SIGINFO): Delete macro.
2003-11-22 22:43:05 +00:00
Andrew Cagney 10a08821d3 2003-11-22 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (SIGFRAME_REG_SIZE): Delete macro.
	(mips_find_saved_regs): Replace SIGFRAME_REG_SIZE with
	mips_regsize.
	(mips_dump_tdep): Do not print SIGFRAME_REG_SIZE.
	* config/mips/tm-irix6.h (SIGFRAME_REG_SIZE): Delete macro.
	* config/mips/tm-irix5.h: Update copyright.
	(SIGFRAME_REG_SIZE): Delete macro.
2003-11-22 22:32:28 +00:00
Andrew Cagney 00d3340373 2003-11-22 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa_value_returned_from_stack): Delete function.
	* config/pa/tm-hppa.h (hppa_value_returned_from_stack): Delete
	declaration.
	(DEPRECATED_VALUE_RETURNED_FROM_STACK): Delete macro.
	* infcall.c (call_function_by_hand): Delete #ifdef
	DEPRECATED_VALUE_RETURNED_FROM_STACK code.
	* infcmd.c (print_return_value): Ditto.
2003-11-22 22:15:23 +00:00
Kazu Hirata a69146da95 * sim-options.c (standard_options): Fix the names of H8
variants.
2003-11-22 21:37:49 +00:00
Andrew Cagney 74da7425d5 2003-11-22 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (skip_prologue_using_sal): New function.
	(mips32_skip_prologue, mips16_skip_prologue): Use
	skip_prologue_using_sal to get an upper bound on the search.
2003-11-22 21:12:24 +00:00
Kazu Hirata dd625418be * ehopt.c: Convert to ISO-C.
* emul.h: Likewise.
	* expr.c: Likewise.
	* expr.h: Likewise.
	* flonum-copy.c: Likewise.
	* flonum-mult.c: Likewise.
	* flonum.h: Likewise.
	* frags.c: Likewise.
	* frags.h: Likewise.
2003-11-22 16:03:03 +00:00
Andrew Cagney 369864a44d 2003-11-22 Andrew Cagney <cagney@redhat.com>
* config/powerpc/tm-linux.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete
	#if 0'ed macro.
	* infrun.c (step_into_function): Delete #ifdef
	PROLOGUE_FIRSTLINE_OVERLAP code.
	* symtab.c (find_function_start_sal): Ditto.
2003-11-22 16:01:03 +00:00
Andrew Cagney a5a12285cc 2003-11-22 Andrew Cagney <cagney@redhat.com>
* remote-rdp.c: Update copyright.
	(rdp_init): #if 0 references to "target_byte_order".
2003-11-22 15:48:30 +00:00
Kazu Hirata 33b7f69788 * config/atof-tahoe.c: Fix comment typos.
* config/m68k-parse.y: Likewise.
	* config/obj-aout.c: Likewise.
	* config/obj-bout.c: Likewise.
	* config/obj-vms.c: Likewise.
	* config/tc-tahoe.c: Likewise.
	* config/tc-tic30.c: Likewise.
	* config/tc-tic4x.c: Likewise.
	* config/tc-tic54x.c: Likewise.
	* config/tc-v850.c: Likewise.
	* config/tc-vax.c: Likewise.
	* config/te-delt88.h: Likewise.
	* config/te-delta.h: Likewise.
	* config/te-generic.h: Likewise.
	* config/te-macos.h: Likewise.
	* config/te-ppcnw.h: Likewise.
	* config/te-psos.h: Likewise.
	* config/te-sun3.h: Likewise.
	* config/te-tmips.h: Likewise.
	* config/xtensa-relax.c: Likewise.
2003-11-22 15:32:28 +00:00
Andrew Cagney 29dfb2ac4c 2003-11-22 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_o32_store_return_value): Delete function.
	(mips_o32_return_value): Replace mips_o32_xfer_return_value.
	(mips_o32_extract_return_value): Delete function.
	(mips_n32n64_return_value): Replace mips_n32n64_xfer_return_value.
	(mips_n32n64_extract_return_value): Delete function.
	(mips_n32n64_store_return_value): Delete function.
	(mips_gdbarch_init): For o32 and n32n64, set "return_value"
	instead of "store_return_value", "extract_return_value", and
	"use_struct_convention".
	(mips_n32n64_use_struct_convention): Delete function.
2003-11-22 14:04:39 +00:00
Jakub Jelinek c6585bbb10 2003-11-22 Jakub Jelinek <jakub@redhat.com>
* elf-bfd.h (ELF_LINK_POINTER_EQUALITY_NEEDED): Define new flag.
	* elf.c (_bfd_elf_link_hash_copy_indirect): Copy it.
	* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
	(elf_i386_check_relocs): Set it.
	(elf_i386_finish_dynamic_symbol): If it is not set,
	clear st_value of SHN_UNDEF symbol.
2003-11-22 10:45:44 +00:00
Alan Modra f22b3cafc9 * doc/c-ppc.texi (PowerPC-Pseudo): Add section. 2003-11-22 06:14:48 +00:00
Alan Modra bd55cd2b21 * gas/i386/divide.s: New.
* gas/i386/divide.d: New.
	* gas/i386/i386.exp (gas_32_check): Run it.
2003-11-22 04:47:17 +00:00
Alan Modra 9a12477437 * app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22. 2003-11-22 04:46:36 +00:00
Kazu Hirata 67c1ffbec9 * config/tc-a29k.h: Fix comment typos.
* config/tc-arm.c: Likewise.
	* config/tc-dlx.h: Likewise.
	* config/tc-hppa.c: Likewise.
	* config/tc-i386.c: Likewise.
	* config/tc-m32r.c: Likewise.
	* config/tc-m68hc11.c: Likewise.
	* config/tc-m68k.c: Likewise.
	* config/tc-m88k.c: Likewise.
	* config/tc-mcore.c: Likewise.
	* config/tc-mips.c: Likewise.
	* config/tc-mmix.c: Likewise.
	* config/tc-msp430.c: Likewise.
	* config/tc-ns32k.c: Likewise.
	* config/tc-or32.c: Likewise.
	* config/tc-or32.h: Likewise.
	* config/tc-pj.c: Likewise.
	* config/tc-ppc.c: Likewise.
	* config/tc-s390.c: Likewise.
	* config/tc-sh64.c: Likewise.
	* config/tc-sh.c: Likewise.
	* config/tc-sparc.c: Likewise.
2003-11-22 02:35:31 +00:00
Kazu Hirata 834ddcc491 * ecoff.c: Convert to ISO-C.
* ecoff.h: Likewise.
2003-11-22 00:20:48 +00:00
gdbadmin b05aa31a76 *** empty log message *** 2003-11-22 00:00:04 +00:00
Alan Modra 11ebb15728 daily update 2003-11-21 23:00:05 +00:00
DJ Delorie 54a962d927 merge from gcc 2003-11-21 22:01:27 +00:00
Kevin Buettner 3a3da38cb0 * frv-tdep.c (frv_frame_this_id): Eliminate call to
inside_entry_func().
2003-11-21 21:36:23 +00:00
DJ Delorie 8fe0d34792 merge from gcc 2003-11-21 21:02:26 +00:00
DJ Delorie d00edca556 merge from gcc 2003-11-21 17:42:45 +00:00
Alan Modra 4bff14ba4d * gas/ppc/machine.s: New.
* gas/ppc/machine.d: New.
	* gas/ppc/ppc.exp: Run it.
2003-11-21 15:05:55 +00:00
Alan Modra 69c040dfe9 * config/tc-ppc.c (parse_cpu): New function, broken out from..
(md_parse_option): ..here.
	(ppc_setup_opcodes): New function, broken out from..
	(md_begin): ..here.
	(ppc_machine): Implement .machine pseudo op.
2003-11-21 15:05:15 +00:00
Kazu Hirata 0234cb7c70 * config/tc-hppa.c: Fix comment typos.
* config/tc-i370.c: Likewise.
	* config/tc-i386.c: Likewise.
	* config/tc-i386.h: Likewise.
	* config/tc-i960.c: Likewise.
	* config/tc-ia64.c: Likewise.
	* config/tc-iq2000.h: Likewise.
2003-11-21 14:38:06 +00:00
Kazu Hirata a2e224686a * depend.c: Convert to ISO-C.
* dwarf2dbg.c: Likewise.
	* dwarf2dbg.h: Likewise.
2003-11-21 13:28:35 +00:00
Kazu Hirata 73ee5e4c0f * app.c: Convert to ISO-C.
* as.h: Likewise.
	* atof-generic.c: Likewise.
	* bignum-copy.c: Likewise.
	* bignum.h: Likewise.
	* cgen.c: Likewise.
	* cgen.h: Likewise.
	* cond.c: Likewise.
2003-11-21 01:52:16 +00:00
Kazu Hirata 2d2255b58e * config/tc-a29k.h: Fix comment typos.
* config/tc-alpha.c: Likewise.
	* config/tc-alpha.h: Likewise.
	* config/tc-arc.c: Likewise.
	* config/tc-arm.c: Likewise.
	* config/tc-arm.h: Likewise.
	* config/tc-cris.c: Likewise.
	* config/tc-d10v.c: Likewise.
	* config/tc-d30v.c: Likewise.
	* config/tc-dlx.c: Likewise.
	* config/tc-dlx.h: Likewise.
2003-11-21 00:24:40 +00:00
gdbadmin 2d8c1c6261 *** empty log message *** 2003-11-21 00:00:32 +00:00
Alan Modra d805683360 daily update 2003-11-20 23:00:06 +00:00
Mark Kettenis c5e656c1c7 * i386-tdep.c (i386_extract_return_value,
i386_store_return_value): Add gdbarch argument.  Use it instead of
determining it from REGCACHE.  Remove recursive call for
structures with a single member.
(i386_use_struct_convention): Remove.
(i386_reg_struct_return_p): New function.
(i386_return_value): New function.
(i386_gdbarch_init): Set return_value, don't set
extract_return_value, store_return_value and
use_struct_convention.
* x86-64-tdep.c (x86_64_init_abi): Set return_value to NULL.
2003-11-20 22:37:50 +00:00
DJ Delorie 0d78efdfab * config/tc-sh64.c (shmedia_frob_section): Only frob elf32
sections.
2003-11-20 20:08:20 +00:00
Jim Blandy 43dd9340d4 * cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC
family is a superset of <bfd_arch_rs6000,bfd_mach_rs6k>.
2003-11-20 18:42:21 +00:00
Jim Blandy 515cc92ea5 * osabi.c (_initialize_gdb_osabi): Don't return before registering
the 'set osabi' and 'show osabi' commands.
2003-11-20 18:37:20 +00:00
Andrew Cagney 6882279b13 2003-11-20 Andrew Cagney <cagney@redhat.com>
* gdb.base/structs.exp: Handle and recover from internal errors.
	Replace "foo${n}" with "foo<n>" in test messages.
2003-11-20 18:03:48 +00:00
Andrew Cagney e53890ae03 2003-11-20 Andrew Cagney <cagney@redhat.com>
* gdb.base/structs.exp: Update copyright.  Rewrite.
	* gdb.base/structs.c: Update copyright.  Rewrite.
2003-11-20 17:11:55 +00:00
Andrew Cagney 2b211c59a2 2003-11-20 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
	resync count exceeded.
2003-11-20 15:58:08 +00:00
Andrew Cagney 039cf96dc4 2003-11-20 Andrew Cagney <cagney@redhat.com>
* gdb.base/maint.exp: Use gdb_internal_error_resync to recover
	from the internal error.
	* lib/gdb.exp (gdb_internal_error_resync): New procedure.
	Original from Jim Blandy.
	(gdb_test_multiple): Use gdb_internal_error_resync.
2003-11-20 15:36:34 +00:00
Martin Schwidefsky 90ced0dda1 * elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbol
section for reloc output and subtract the output section's address
	from the addend when converting a relocation into one against a
	section symbol.
	* elf64-s390.c (elf_s390_relocate_section): Likewise.
2003-11-20 09:54:07 +00:00
Kazu Hirata 600e9c9985 * config/tc-h8300.c: Make some functions and global
variables static appropriately.
2003-11-20 04:25:26 +00:00
Kazu Hirata d492b58e48 * config/obj-ieee.c: Remove duplicate prototypes.
* config/tc-h8300.c: Likewise.
2003-11-20 04:12:19 +00:00
Kazu Hirata b54a33920b * config/tc-h8300.c: Convert to ISO-C.
* config/tc-h8300.h: Likewise.
2003-11-20 03:31:36 +00:00
Kazu Hirata fe01a20a70 * config/tc-mcore.h: Remove prototypes already in tc.h.
* config/tc-tic4x.c: Likewise.
2003-11-20 03:11:18 +00:00
DJ Delorie dd9d4b48fd merge from gcc 2003-11-20 02:01:32 +00:00
Kazu Hirata 43b5c447a2 * config/tc-arc.c: Remove a local prototype of atof_ieee.
* config/tc-ip2k.c: Likewise.
	* config/tc-iq2000.c: Likewise.
	* config/tc-tic30.c: Remove a comment.
2003-11-20 01:36:49 +00:00
Kazu Hirata aaa2624bf8 * config/obj-aout.h: Fix comment typos.
* config/obj-bout.h: Likewise.
	* config/obj-coff.c: Likewise.
	* config/obj-coff.h: Likewise.
	* config/obj-elf.c: Likewise.
	* config/obj-ieee.c: Likewise.
	* config/obj-som.c: Likewise.
	* config/obj-vms.c: Likewise.
	* config/obj-vms.h: Likewise.
2003-11-20 00:01:55 +00:00
gdbadmin 43d6b3f90e *** empty log message *** 2003-11-20 00:01:02 +00:00