Commit Graph

40942 Commits

Author SHA1 Message Date
Daniel Jacobowitz 24de872b6f * arm-tdep.c (arm_minimal_frame_chain): Renamed from
arm_frame_chain.  Take NEXT_FRAME and CACHE arguments.
	Use the cache instead of DEPRECATED_FRAME_SAVED_PC.
	(arm_minimal_frame_info): Renamed from arm_init_extra_frame_info.
	Take NEXT_FRAME and CACHE arguments.  Call
	FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument.
	Set unwound_pc in CACHE instead of modifying the frame argument.
	Don't bother checking the frame type when looking for sigtramp
	frames.
	(arm_make_prologue_cache, arm_frame_chain)
	(arm_init_extra_frame_info): New functions.
2003-09-03 20:45:03 +00:00
Daniel Jacobowitz 9b8d791a57 * arm-tdep.c (arm_get_cache): Define.
(struct arm_prologue_cache): Renamed from frame_extra_info.  Add
	unwound_sp, unwound_pc, and saved_regs.
	(thumb_scan_prologue): Take a cache instead of the frame.
	(arm_scan_prologue): Likewise.
	(arm_frame_chain): Create a temporary cache for arm_scan_prologue
	instead of a temporary frame.
	(arm_init_extra_frame_info): Allocate and use a cache.
	(arm_frame_saved_pc, arm_pop_frame): Use the cache.
2003-09-03 20:44:26 +00:00
Andrew Cagney 7ee3275fcf 2003-09-03 Andrew Cagney <cagney@redhat.com>
* config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS.
	* config/mips/wince.mt (TM_CLIBS): Ditto.
	* config/sh/wince.mt (TM_CLIBS): Ditto.
	* config/pa/hppa64.mt (TM_CLIBS): Delete.
	* config/sparc/sp64.mt (CC): Delete.
2003-09-03 18:52:23 +00:00
Andreas Schwab fb72cee0ad * Makefile.in (FLAGS_TO_PASS): Pass down $(bindir) and $(mandir). 2003-09-03 18:46:52 +00:00
Nick Clifton 3922a8c154 Do not skip section symbols that are used in relocs. 2003-09-03 16:06:12 +00:00
Andrew Cagney 57b29be766 2003-09-03 Andrew Cagney <cagney@redhat.com>
* defs.h: Do not include "arch-utils.h".
	(GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or
	GDB_MULTI_ARCH_PURE.
	* configure.in (GDB_MULTI_ARCH): Do not define.
	* configure, config.in: Regenerate.
	* configure.tgt: Do not set variable "gdb_multi_arch".
	* config/s390/s390x.mt (GDB_MULTI_ARCH): Delete.
	* config/s390/s390.mt (GDB_MULTI_ARCH): Delete.
	* config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete.
	* config/v850/v850.mt (TM_FILE): Delete disabled definition.
	* config/m68hc11/m68hc11.mt (TM_FILE): Delete definition.
	* config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition.
	* config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition.
	* config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition.
	* config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition.
	* config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition.
	* config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition.
	* config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition.
	* config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition.
	* config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition.
	* config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition.
	* config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition.
	* config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition.
	* config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition.
2003-09-03 15:02:51 +00:00
Nick Clifton 13dfd2d039 Add *kfreebsd-gnu configuration support 2003-09-03 09:32:21 +00:00
Nick Clifton 155e0d2321 Use bfd_map_over_sections to walk section chain.
Do not dump the contents of an empty section.
2003-09-03 08:26:52 +00:00
DJ Delorie 60b04ee881 merge from gcc 2003-09-03 00:03:18 +00:00
Alan Modra 902a241b02 daily update 2003-09-03 00:00:06 +00:00
gdbadmin 87cbbc520d *** empty log message *** 2003-09-03 00:00:01 +00:00
DJ Delorie ccca4bb34c * configure.in: Ensure arguments to sed are properly spaced.
* configure: Regenerate.
2003-09-02 23:21:43 +00:00
Daniel Jacobowitz 13b2be9c04 * configure.in: Update AC_PREREQ to 2.57. Use AC_CONFIG_FILES
and AC_CONFIG_COMMANDS instead of the three-argument AC_OUTPUT.
	Specify AC_CONFIG_AUX_DIR.
	* aclocal.m4: Regenerated with aclocal-1.7.
	* configure: Regenerated with autoconf 2.57.
	* Makefile.in, doc/Makefile.in: Regenerated with automake-1.7.
2003-09-02 17:59:13 +00:00
Alan Modra 823bbe9d95 * ppc-opc.c (powerpc_opcodes): Combine identical PPC403/BOOKE entries.
Move duplicate mnemonic entries together.  Use RS instead of RT on
	all mt*.
	* ppc-dis.c: Convert to ISO C.
2003-09-02 04:15:29 +00:00
gdbadmin 37b6de1b9d *** empty log message *** 2003-09-02 00:00:31 +00:00
Alan Modra 8308626d33 daily update 2003-09-02 00:00:05 +00:00
Alan Modra 6b10f68d80 * MAINTAINERS: Move Dave Anglin's entry to where it belongs. 2003-09-01 22:45:05 +00:00
Maciej W. Rozycki 37a52082db * gas/mips/elf-rel-got-n32.d: Fix ulw and usw patterns for
little-endian.
* gas/mips/elf-rel-got-n64.d: Likewise.
* gas/mips/elf-rel-xgot-n32.d: Likewise.
* gas/mips/elf-rel-xgot-n64.d: Likewise.
2003-09-01 17:36:47 +00:00
Michael Chastain 12e035e235 2003-08-30 Michael Chastain <mec@shout.net>
* Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h.
	* config/m68k/nm-hp300hpux.h: Delete.
	* config/m68k/tm-hp300hpux.h: Delete.
	* config/m68k/xm-hp300hpux.h: Delete.
	* config/m68k/xm-hp300bsd.h: Delete.
	* config/djgpp/fnchange.lst: Remove nm-hp300hpux.h,
	tm-hp300hpux.h, xm-hp300hpux.h.
	* somsolib.c: Remove comment about hp300 shared libraries.
2003-09-01 02:11:07 +00:00
gdbadmin c79496d4be *** empty log message *** 2003-09-01 00:00:32 +00:00
Alan Modra ca972297ff daily update 2003-09-01 00:00:06 +00:00
Christian Groessler 32d920dd70 fixed comment for i860_howto_pc26_reloc 2003-08-31 18:25:09 +00:00
Christian Groessler 1c0881ddd9 * elf32-i860.c (i860_howto_pc26_reloc): Finish relocation here
instead of returning bfd_reloc_continue.
2003-08-31 18:22:06 +00:00
Mark Kettenis 5bca7895b7 * i386-linux-nat.c (ps_get_thread_area): Don't define as extern.
Only define PTRACE_GET_THREAD_AREA is not already defined.
Various style fixes in code and comments and some additional
spelling fixes in comments.  Move after functions dealing with
debug registers.
* x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern.
Fix coding-style.
2003-08-31 15:18:58 +00:00
Mark Kettenis bda34dc2c9 * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use
frame_unwind_register_unsigned instead of
frame_unwind_unsigned_register.
2003-08-31 12:56:42 +00:00
Andreas Jaeger ac0e732ef3 * merge.c: Update to ISO C90. 2003-08-31 10:07:47 +00:00
Alan Modra 7274f0d79a daily update 2003-08-31 00:00:05 +00:00
gdbadmin 634cbc9769 *** empty log message *** 2003-08-31 00:00:02 +00:00
Michael Chastain 49f2741a0a 2003-08-30 Michael Chastain <mec@shout.net>
* gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
	* gdb.gdb/observer.exp: Ditto.
	* gdb.gdb/xfullpath.exp: Ditto.
2003-08-30 04:58:21 +00:00
Mark Kettenis c890192f03 * configure.in: Search for gethostbyname in libnsl.
* configure: Regenerated.
2003-08-30 00:06:22 +00:00
gdbadmin 5c68e5dbfb *** empty log message *** 2003-08-30 00:00:32 +00:00
Alan Modra eac8c92310 daily update 2003-08-30 00:00:07 +00:00
Jakub Jelinek 6749011bfd s/.cfi_gnu_window_save/.cfi_window_save/g 2003-08-29 20:32:56 +00:00
Jakub Jelinek 364b6d8b23 * dw2gencfi.c (cfi_pseudo_table): Add cfi_gnu_window_save.
(dot_cfi, output_cfi_insn): Handle DW_CFA_GNU_window_save.
	(output_cie): Don't use DW_EH_PE_pcrel if neither DIFF_EXPR_OK
	nor tc_cfi_emit_pcrel_expr are defined.
	(output_fde): Use tc_cfi_emit_pcrel_expr if available and
	DIFF_EXPR_OK is not defined.
	* config/tc-sparc.h (TARGET_USE_CFIPOP): Define.
	(tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum,
	tc_cfi_emit_pcrel_expr): Define.
	(sparc_cfi_frame_initial_instructions, sparc_regname_to_dw2regnum,
	sparc_cfi_emit_pcrel_expr): New prototypes.
	(sparc_cie_data_alignment): New decl.
	(DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define.
	* config/tc-sparc.c: Include dw2gencfi.h.
	(sparc_cie_data_alignment): New variable.
	(md_begin): Initialize it.
	(sparc_cfi_frame_initial_instructions): New function.
	(sparc_regname_to_dw2regnum): Likewise.
	(sparc_cfi_emit_pcrel_expr): Likewise.
	* doc/as.texinfo: Document .cfi_gnu_window_save.

	* config/tc-sparc.c (s_common): Cast last argument to long and
	change format string to shut up warning.
testsuite/
	* gas/cfi/cfi-sparc-1.s: New test.
	* gas/cfi/cfi-sparc-1.d: New test.
	* gas/cfi/cfi-sparc64-1.s: New test.
	* gas/cfi/cfi-sparc64-1.d: New test.
	* gas/cfi/cfi.exp: Run them.
2003-08-29 20:20:18 +00:00
Mark Kettenis e294916c5a * configure.in: Remove redundant AC_MSG_RESULT in check for
uintptr_t in stdint.h.
* configure: Regenerated.
2003-08-29 19:18:07 +00:00
Dave Brolley 5272d2012d 2003-08-29 Dave Brolley <brolley@redhat.com>
* Makefile.am (stamp-frv): Copy frv.cpu and frv.opc from
        $(srcdir)/../cpu temporarily when regenerating source files.
        * Makefile.in: Regenerated.
2003-08-29 19:14:54 +00:00
Dave Brolley e8d2f504d4 2003-08-29 Dave Brolley <brolley@redhat.com>
* Makefile.in (stamp-arch): Copy frv.cpu from $(srcdir)../../cpu
        temporarily when regenerating files.
        (stamp-cpu): Ditto.
2003-08-29 19:13:00 +00:00
Dave Brolley b3af7bdf4b 2003-08-29 Dave Brolley <brolley@redhat.com>
* MAINTAINERS: Add myself as maintainer of the FRV port.
2003-08-29 17:20:42 +00:00
Mark Kettenis c40d267a71 * amd64-nat.h (struct regcache): Add opaque declaration. 2003-08-29 17:18:27 +00:00
Dave Brolley 84fabdf612 2003-08-20 Michael Snyder <msnyder@redhat.com>
Dave Brolley  <brolley@redhat.com>

        * frv/: New directory, simulator for the Fujitsu FR-V.
        * testsuite/frv-elf/: New directory.
        * testsuite/sim/frv/: New directory.
        * configure.in: Add frv configury.
        * configure: Regenerate.
2003-08-29 16:45:22 +00:00
Dave Brolley 33319edb53 2003-08-20 Michael Snyder <msnyder@redhat.com>
Dave Brolley  <brolley@redhat.com>

        * cgen-par.h (flags, word1): New target-specific
        fields of CGEN_WRITE_QUEUE_ELEMENT.
        (CGEN_WRITE_QUEUE_ELEMENT_FLAGS): New accessor macro.
        (CGEN_WRITE_QUEUE_ELEMENT_WORD1): New accessor macro.
        * gennltvals.sh: Add frv target.
        * nltvals.def: Add frv target.
2003-08-29 16:43:38 +00:00
Dave Brolley 51796a3f8b 2003-08-20 Michael Snyder <msnyder@redhat.com>
On behalf of Dave Brolley

        * sim/frv: New testsuite.
        * frv-elf: New testsuite.
2003-08-29 16:42:18 +00:00
Dave Brolley 4a30611667 New sim testsuite for Fujitsu FRV. Contributed by Red Hat. 2003-08-29 16:41:31 +00:00
Dave Brolley b34f6357d0 New simulator for Fujitsu frv contributed by Red Hat. 2003-08-29 16:35:47 +00:00
Mark Kettenis 60fac5b81a * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.
* x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h".
Change "register array" to "register cache" in comments.
(x86_64_linux_gregset64_reg_offset): New variable.
(GETREGS_SUPPLIES): Remove macro.
(supply_gregset): Call amd64_supply_native_gregset instead of
x86_64_linux_supply_gregset.
(fill_gregset): Rename `regno' to `regnum'.  Call
amd64_collect_native_gregset instead of x86_64_linux_fill_gregset.
(store_regs): Rename `regno' to `regnum'.
(store_fpregs): Rename `regno' to `regnum'.
(fetch_inferior_registers): Rename `regno' to `regnum'.  Use
amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
Reorganize function a bit.
(store_inferior_registers): Rename `regno' to `regnum'.  Use
amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
Reorganize function a bit.
(_initialize_x86_64_linux_nat): New function.
* config/i386/x86-64linux.mh.
2003-08-29 16:28:39 +00:00
Andrew Cagney 546143b61a 2003-08-29 Andrew Cagney <cagney@redhat.com>
* config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro.
	(TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro.
	(target_remove_watchpoint): Delete macro.
	(target_insert_watchpoint): Delete macro.
	(remote_mips_can_use_hardware_watchpoint): Delete declaration.
	(remote_mips_stopped_by_watchpoint): Delete declaration.
	(remote_mips_remove_watchpoint): Delete declaration.
	(remote_mips_set_watchpoint): Delete declaration.
	(TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro.
	* remote-mips.c (_initialize_remote_mips): Set
	"to_insert_watchpoint", "to_stopped_by_watchpoint",
	"to_can_use_hardware_watchpoint", and "to_remove_watchpoint".
	(mips_insert_watchpoint): Rename remote_mips_set_watchpoint.
	(mips_remove_watchpoint): Rename remote_mips_remove_watchpoint.
	(mips_stopped_by_watchpoint): Rename
	remote_mips_stopped_by_watchpoint.
	(mips_can_hardware_watchpoint): Rename
	remote_mips_can_use_hardware_watchpoint, update function
	signature.
2003-08-29 16:18:06 +00:00
Mark Kettenis b0f5c6f2c5 * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and
USER_DS.  We haven't given them a register number yet.
2003-08-29 15:31:10 +00:00
Mark Kettenis 2a6d284d76 * amd64-nat.h: New file.
* amd64-nat.c: New file.
* amd64fbsd-nat.c: Include "amd64-nat.h".
(REG_ADDR, GETREGS_SUPPLIES): Remove macros.
(amd64fbsd32_r_reg_offset): New variable.
(supply_gregset): Simply call amd64_supply_native_gregset.
(fill_gregset): Rename `regno' to `regnum'.  Simply call
amd64_collect_native_gregset.
(fill_fpregset): Rename `regno' to `regnum'.
(fetch_inferior_registers): Rename `regno' to `regnum'.  Replace
usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
Use `struct reg' and `struct fpreg' instead of `gregset_t' and
`fpregset_t'.  Call amd64_supply_native_gregset instead of
supply_gregset.  Call x86_64_supply_fxsave instead of
supply_fpregset.
(store_inferior_registers): Rename `regno' to `regnum'.  Replace
usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
Use `struct reg' and `struct fpreg' instead of `gregset_t' and
`fpregset_t'.  Call amd64_collect_native_gregset instead of
fill_gregset.  Call x86_64_collect_fxsave instead of
fill_fpregset.
(_initialize_am64fbsd_nat): Initialize
amd64_native_gregset32_reg_offset and
amd64_native_gregset64_reg_offset.
* config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o.
2003-08-29 13:58:26 +00:00
Mark Kettenis a16d75cc48 * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a
null pointer.  Fix typo in comment.
2003-08-29 13:04:44 +00:00
Mark Kettenis 7bace51ba7 * regcache.c (supply_register): Reimplement to call
regcache_raw_supply.
(regcache_collect): Reimplement by calling regcache_raw_collect.
2003-08-29 11:48:04 +00:00