This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Target vector inheritance for FreeBSD/sparc64
- From: Mark Kettenis <kettenis at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 21 Nov 2004 21:23:12 +0100 (CET)
- Subject: [COMMIT] Target vector inheritance for FreeBSD/sparc64
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* sparc64fbsd-nat.c: Update copyright year.
(_initialize_sparc64fbsd_nat): Construct and add target vector.
* config/sparc/fbsd.mh (NATDEPFILES): Remove infptrace.o,
inftarg.o.
Index: sparc64fbsd-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc64fbsd-nat.c,v
retrieving revision 1.3
diff -u -p -r1.3 sparc64fbsd-nat.c
--- sparc64fbsd-nat.c 3 Jan 2004 10:08:44 -0000 1.3
+++ sparc64fbsd-nat.c 21 Nov 2004 20:20:31 -0000
@@ -1,6 +1,6 @@
/* Native-dependent code for FreeBSD/sparc64.
- Copyright 2003 Free Software Foundation, Inc.
+ Copyright 2003, 2004 Free Software Foundation, Inc.
This file is part of GDB.
@@ -31,4 +31,7 @@ void
_initialize_sparc64fbsd_nat (void)
{
sparc_gregset = &sparc64fbsd_gregset;
+
+ /* We've got nothing to add to the generic SPARC target. */
+ add_target (sparc_target ());
}
Index: config/sparc/fbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/fbsd.mh,v
retrieving revision 1.5
diff -u -p -r1.5 fbsd.mh
--- config/sparc/fbsd.mh 12 Oct 2004 22:18:55 -0000 1.5
+++ config/sparc/fbsd.mh 21 Nov 2004 20:20:31 -0000
@@ -1,5 +1,5 @@
# Host: FreeBSD/sparc64
-NATDEPFILES= sparc64fbsd-nat.o sparc64-nat.o sparc-nat.o \
- fork-child.o inf-ptrace.o infptrace.o inftarg.o \
+NATDEPFILES= fork-child.o inf-ptrace.o \
+ sparc64fbsd-nat.o sparc64-nat.o sparc-nat.o \
solib.o solib-svr4.o solib-legacy.o
NAT_FILE= nm-fbsd.h