This is the mail archive of the gdb-cvs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gdb ChangeLog Makefile.in sparc-tdep.c spa ...


CVSROOT:	/cvs/src
Module name:	src
Branch: 	kettenis_sparc-20030918-branch
Changes by:	kettenis@sourceware.org	2003-10-18 18:25:46

Modified files:
	gdb            : ChangeLog Makefile.in sparc-tdep.c sparc-tdep.h 
	                 sparc64-tdep.c sparc64-tdep.h 
	                 sparc64fbsd-tdep.c sparcbsd-nat.c 
	gdb/config/sparc: fbsd.mh fbsd.mt 

Log message:
	Integrate SPARC and UltraSPARC targets.
	* sparc-tdep.h (struct sparc32_frame_cache): Add pc_regnum and
	npc_regnum members.
	* sparc-tdep.c (sparc_unwind_pc): Rename from sparc32_unwind_pc.
	Get register numbers for %pc from `struct gdbarch_tdep' instead of
	using 32-bit specific constants.
	(sparc_software_single_step): Get register numbers from %pc and
	%npc from `struct gdbarch_tdep'.
	(sparc_write_pc): Rename from sparc32_write_pc.  Get register
	numbers from %pc and %npc from `struct gdbarch_tdep'.
	(sparc32_gdbarch_init): Initialize TDEP->pc_regnum,
	TDEP->npc_regnum and TDEP->plt_entry_size.  Set write_pc to
	sparc_write_pc, set unwind_pc to sparc_unwind_pc.
	* sparc64-tdep.h: Fix typo in multiple inclusion guard.  Include
	"sparc-tdep.h".
	(enum sparc_regnum): Remove.
	(sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
	(sparc64_init_abi): New prototype.
	* sparc64-tdep.c: Include "inferior.h" and "sparc-tdep.h".
	(struct gdbarch_tdep): Remove definition.
	(SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
	(sparc_breakpoint_from_pc, sparc64_unwind_pc,
	sparc_unwind_dummy_id, sparc_extract_struct_value_address,
	sparc_analyze_control_transfer, sparc_software_single_step,
	sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
	_initialize_sparc64_tdep): Remove functions.
	(sparc64_init_abi): New function.
	* sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call
	sparc_supply_rwindow with correct number of arguments.
	(sparc64fbsd_init_abi): Call sparc64_init_abi.
	* sparcbsd-nat.c (store_inferior_registers): Call
	sparc_collect_rwindow instead sparc_fill_rwindow.
	* config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
	* config/sparc/fbsd.mh (NATDEPFILES): Remove corelow.o.
	* Makefile.in (sparc64_tdep_h): Add dependency on sparc-tdep.h.
	(sparc64-tdep.o): Update dependencies.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=kettenis_sparc-20030918-branch&r1=1.4779.2.5&r2=1.4779.2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&only_with_tag=kettenis_sparc-20030918-branch&r1=1.445.2.2&r2=1.445.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/sparc-tdep.c.diff?cvsroot=src&only_with_tag=kettenis_sparc-20030918-branch&r1=1.127.2.1&r2=1.127.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/sparc-tdep.h.diff?cvsroot=src&only_with_tag=kettenis_sparc-20030918-branch&r1=1.3.10.1&r2=1.3.10.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/sparc64-tdep.c.diff?cvsroot=src&only_with_tag=kettenis_sparc-20030918-branch&r1=1.3&r2=1.3.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/sparc64-tdep.h.diff?cvsroot=src&only_with_tag=kettenis_sparc-20030918-branch&r1=1.2&r2=1.2.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/sparc64fbsd-tdep.c.diff?cvsroot=src&only_with_tag=kettenis_sparc-20030918-branch&r1=1.2&r2=1.2.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/sparcbsd-nat.c.diff?cvsroot=src&only_with_tag=kettenis_sparc-20030918-branch&r1=1.1&r2=1.1.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/config/sparc/fbsd.mh.diff?cvsroot=src&only_with_tag=kettenis_sparc-20030918-branch&r1=1.3&r2=1.3.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/config/sparc/fbsd.mt.diff?cvsroot=src&only_with_tag=kettenis_sparc-20030918-branch&r1=1.3&r2=1.3.4.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]