summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb/config/sparc
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2004-05-21 19:18:40 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2004-05-21 19:18:40 +0000
commit6a565344557d0acb4bd34cc9a0bf698662f9006b (patch)
tree5c120526742e6dbb98c8c3d2857c18f7de16143a /gnu/usr.bin/binutils/gdb/config/sparc
parenta0769fe1e18fcff10de0bca7c087aacab3cda1cb (diff)
GDB 6.1 (excluding .info files)
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/config/sparc')
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/fbsd.mh5
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/fbsd.mt3
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/linux.mh11
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/linux.mt4
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/linux64.mh11
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/linux64.mt5
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/nbsd64.mh4
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/nbsd64.mt5
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/nbsdaout.mh4
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/nbsdelf.mh4
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/nm-fbsd.h39
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/nm-linux.h37
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/nm-nbsdaout.h30
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/nm-sol2.h65
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mt5
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/sol2-64.mt3
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/sol2.mh6
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/sol2.mt3
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/sparc.mt2
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/sparc64.mt2
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/tm-fbsd.h27
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/tm-linux.h29
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/tm-nbsd64.h27
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/tm-sol2.h40
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/tm-vxworks.h31
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/vxworks.mt4
26 files changed, 406 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/fbsd.mh b/gnu/usr.bin/binutils/gdb/config/sparc/fbsd.mh
new file mode 100644
index 00000000000..fb491a55c47
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/fbsd.mh
@@ -0,0 +1,5 @@
+# Host: FreeBSD/sparc64
+NATDEPFILES= sparc64fbsd-nat.o sparc64-nat.o sparc-nat.o \
+ fork-child.o infptrace.o inftarg.o \
+ solib.o solib-svr4.o solib-legacy.o
+NAT_FILE= nm-fbsd.h
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/fbsd.mt b/gnu/usr.bin/binutils/gdb/config/sparc/fbsd.mt
new file mode 100644
index 00000000000..8e4dead7add
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/fbsd.mt
@@ -0,0 +1,3 @@
+# Target: FreeBSD/sparc64
+TDEPFILES= sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o corelow.o
+TM_FILE= tm-fbsd.h
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/linux.mh b/gnu/usr.bin/binutils/gdb/config/sparc/linux.mh
new file mode 100644
index 00000000000..ed68cc78aea
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/linux.mh
@@ -0,0 +1,11 @@
+# Host: GNU/Linux SPARC
+NAT_FILE= nm-linux.h
+NATDEPFILES= sparc-nat.o sparc-sol2-nat.o \
+ corelow.o core-regset.o fork-child.o \
+ infptrace.o inftarg.o \
+ proc-service.o thread-db.o lin-lwp.o \
+ linux-proc.o gcore.o linux-nat.o
+
+# The dynamically loaded libthread_db needs access to symbols in the
+# gdb executable.
+LOADLIBES = -ldl -rdynamic
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/linux.mt b/gnu/usr.bin/binutils/gdb/config/sparc/linux.mt
new file mode 100644
index 00000000000..e053f302c4f
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/linux.mt
@@ -0,0 +1,4 @@
+# Target: GNU/Linux SPARC
+TDEPFILES= sparc-tdep.o sparc-sol2-tdep.o sparc-linux-tdep.o \
+ solib.o solib-svr4.o solib-legacy.o
+TM_FILE= tm-linux.h
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/linux64.mh b/gnu/usr.bin/binutils/gdb/config/sparc/linux64.mh
new file mode 100644
index 00000000000..c1472de8de8
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/linux64.mh
@@ -0,0 +1,11 @@
+# Host: GNU/Linux UltraSPARC
+NAT_FILE= nm-linux.h
+NATDEPFILES= sparc-nat.o sparc64-nat.o sparc-sol2-nat.o sparc64-linux-nat.o \
+ corelow.o core-regset.o \
+ fork-child.o infptrace.o inftarg.o \
+ proc-service.o thread-db.o lin-lwp.o \
+ linux-proc.o gcore.o linux-nat.o
+
+# The dynamically loaded libthread_db needs access to symbols in the
+# gdb executable.
+LOADLIBES = -ldl -rdynamic
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/linux64.mt b/gnu/usr.bin/binutils/gdb/config/sparc/linux64.mt
new file mode 100644
index 00000000000..4121314318b
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/linux64.mt
@@ -0,0 +1,5 @@
+# Target: GNU/Linux UltraSPARC
+TDEPFILES= sparc64-tdep.o sparc64-sol2-tdep.o sparc64-linux-tdep.o \
+ sparc-tdep.o sparc-sol2-tdep.o sparc-linux-tdep.o \
+ solib.o solib-svr4.o solib-legacy.o
+TM_FILE= tm-linux.h
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/nbsd64.mh b/gnu/usr.bin/binutils/gdb/config/sparc/nbsd64.mh
new file mode 100644
index 00000000000..e8ac58bda2b
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/nbsd64.mh
@@ -0,0 +1,4 @@
+# Host: NetBSD/sparc64
+NATDEPFILES= sparc64nbsd-nat.o sparc-nat.o \
+ fork-child.o infptrace.o inftarg.o
+NAT_FILE= nm-nbsd.h
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/nbsd64.mt b/gnu/usr.bin/binutils/gdb/config/sparc/nbsd64.mt
new file mode 100644
index 00000000000..4a1b13b9bb6
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/nbsd64.mt
@@ -0,0 +1,5 @@
+# Target: NetBSD/sparc64
+TDEPFILES= sparc64-tdep.o sparc64nbsd-tdep.o \
+ sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
+ corelow.o solib.o solib-svr4.o
+TM_FILE= tm-nbsd.h
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/nbsdaout.mh b/gnu/usr.bin/binutils/gdb/config/sparc/nbsdaout.mh
new file mode 100644
index 00000000000..8944e60e483
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/nbsdaout.mh
@@ -0,0 +1,4 @@
+# Host: NetBSD/sparc a.out
+NATDEPFILES= sparc-nat.o sparcnbsd-nat.o \
+ fork-child.o infptrace.o inftarg.o solib-sunos.o
+NAT_FILE= nm-nbsdaout.h
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/nbsdelf.mh b/gnu/usr.bin/binutils/gdb/config/sparc/nbsdelf.mh
new file mode 100644
index 00000000000..45309ecaec0
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/nbsdelf.mh
@@ -0,0 +1,4 @@
+# Host: NetBSD/sparc ELF
+NATDEPFILES= sparc-nat.o sparcnbsd-nat.o \
+ fork-child.o infptrace.o inftarg.o
+NAT_FILE= nm-nbsd.h
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/nm-fbsd.h b/gnu/usr.bin/binutils/gdb/config/sparc/nm-fbsd.h
new file mode 100644
index 00000000000..917cc49bf07
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/nm-fbsd.h
@@ -0,0 +1,39 @@
+/* Native-dependent definitions for FreeBSD/sparc64.
+
+ Copyright 2002, 2003 Free Software Foundation, Inc.
+ Contributed by David E. O'Brien <obrien@FreeBSD.org>.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#ifndef NM_FBSD_H
+#define NM_FBSD_H
+
+/* Type of the third argument to the `ptrace' system call. */
+#define PTRACE_ARG3_TYPE caddr_t
+
+/* Override copies of {fetch,store}_inferior_registers in `infptrace.c'. */
+#define FETCH_INFERIOR_REGISTERS
+
+/* We can attach and detach. */
+#define ATTACH_DETACH
+
+
+/* Shared library support. */
+
+#include "solib.h"
+
+#endif /* nm-fbsd.h */
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/nm-linux.h b/gnu/usr.bin/binutils/gdb/config/sparc/nm-linux.h
new file mode 100644
index 00000000000..cfab3893ca5
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/nm-linux.h
@@ -0,0 +1,37 @@
+/* Native-dependent definitions for GNU/Linux SPARC.
+
+ Copyright 1989, 1992, 1996, 1998, 1999, 2000, 2002, 2003
+ Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef NM_LINUX_H
+#define NM_LINUX_H
+
+#include "config/nm-linux.h"
+
+/* Type of the third argument to the `ptrace' system call. */
+#define PTRACE_ARG3_TYPE long
+
+/* Type of the fourth argument to the `ptrace' system call. */
+#define PTRACE_XFER_TYPE long
+
+/* Override copies of {fetch,store}_inferior_registers in `infptrace.c'. */
+#define FETCH_INFERIOR_REGISTERS
+
+#endif /* nm-linux.h */
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/nm-nbsdaout.h b/gnu/usr.bin/binutils/gdb/config/sparc/nm-nbsdaout.h
new file mode 100644
index 00000000000..9e463f9b503
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/nm-nbsdaout.h
@@ -0,0 +1,30 @@
+/* Native-dependent definitions for NetBSD/sparc a.out.
+
+ Copyright 1999, 2003 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef NM_NBSDAOUT_H
+#define NM_NBSDAOUT_H
+
+#include "sparc/nm-nbsd.h"
+
+/* Get generic NetBSD a.out native definitions. */
+#include "config/nm-nbsdaout.h"
+
+#endif /* nm-nbsdaout.h */
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/nm-sol2.h b/gnu/usr.bin/binutils/gdb/config/sparc/nm-sol2.h
new file mode 100644
index 00000000000..bc9de3fdf80
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/nm-sol2.h
@@ -0,0 +1,65 @@
+/* Native-dependent definitions for Solaris SPARC.
+
+ Copyright 2003 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#ifndef NM_SOL2_H
+#define NM_SOL2_H
+
+#define GDB_GREGSET_T prgregset_t
+#define GDB_FPREGSET_T prfpregset_t
+
+/* Shared library support. */
+
+#include "solib.h"
+
+/* Hardware wactchpoints. */
+
+/* Solaris 2.6 and above can do HW watchpoints. */
+#ifdef NEW_PROC_API
+
+#define TARGET_HAS_HARDWARE_WATCHPOINTS
+
+/* The man page for proc(4) on Solaris 2.6 and up says that the system
+ can support "thousands" of hardware watchpoints, but gives no
+ method for finding out how many; It doesn't say anything about the
+ allowed size for the watched area either. So we just tell GDB
+ 'yes'. */
+#define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(SIZE) 1
+
+/* When a hardware watchpoint fires off the PC will be left at the
+ instruction following the one which caused the watchpoint. It will
+ *NOT* be necessary for GDB to step over the watchpoint. */
+#define HAVE_CONTINUABLE_WATCHPOINT 1
+
+extern int procfs_stopped_by_watchpoint (ptid_t);
+#define STOPPED_BY_WATCHPOINT(W) \
+ procfs_stopped_by_watchpoint(inferior_ptid)
+
+/* Use these macros for watchpoint insertion/deletion. TYPE can be 0
+ (write watch), 1 (read watch), 2 (access watch (read/write). */
+
+extern int procfs_set_watchpoint (ptid_t, CORE_ADDR, int, int, int);
+#define target_insert_watchpoint(ADDR, LEN, TYPE) \
+ procfs_set_watchpoint (inferior_ptid, ADDR, LEN, TYPE, 1)
+#define target_remove_watchpoint(ADDR, LEN, TYPE) \
+ procfs_set_watchpoint (inferior_ptid, ADDR, 0, 0, 0)
+
+#endif /* NEW_PROC_API */
+
+#endif /* nm-sol2.h */
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mt b/gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mt
new file mode 100644
index 00000000000..a69281754c4
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mt
@@ -0,0 +1,5 @@
+# Target: OpenBSD/sparc64
+TDEPFILES= sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
+ sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
+ corelow.o solib.o solib-svr4.o
+TM_FILE= tm-nbsd.h
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/sol2-64.mt b/gnu/usr.bin/binutils/gdb/config/sparc/sol2-64.mt
new file mode 100644
index 00000000000..92f848929fe
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/sol2-64.mt
@@ -0,0 +1,3 @@
+# Target: Solaris UltraSPARC
+TDEPFILES= sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o sparc-sol2-tdep.o
+TM_FILE= tm-sol2.h
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/sol2.mh b/gnu/usr.bin/binutils/gdb/config/sparc/sol2.mh
new file mode 100644
index 00000000000..735b9ee8096
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/sol2.mh
@@ -0,0 +1,6 @@
+# Host: Solaris SPARC & UltraSPARC
+NAT_FILE= nm-sol2.h
+NATDEPFILES= sparc-sol2-nat.o \
+ corelow.o core-regset.o fork-child.o gcore.o \
+ procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o \
+ solib.o solib-svr4.o solib-legacy.o
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/sol2.mt b/gnu/usr.bin/binutils/gdb/config/sparc/sol2.mt
new file mode 100644
index 00000000000..4037956317c
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/sol2.mt
@@ -0,0 +1,3 @@
+# Target: Solaris SPARC
+TDEPFILES= sparc-tdep.o sparc-sol2-tdep.o
+TM_FILE= tm-sol2.h
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/sparc.mt b/gnu/usr.bin/binutils/gdb/config/sparc/sparc.mt
new file mode 100644
index 00000000000..ea78c97af55
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/sparc.mt
@@ -0,0 +1,2 @@
+# Target: SPARC
+TDEPFILES= sparc-tdep.o
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/sparc64.mt b/gnu/usr.bin/binutils/gdb/config/sparc/sparc64.mt
new file mode 100644
index 00000000000..b1082be4956
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/sparc64.mt
@@ -0,0 +1,2 @@
+# Target: UltraSPARC
+TDEPFILES= sparc-tdep.o sparc64-tdep.o
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/tm-fbsd.h b/gnu/usr.bin/binutils/gdb/config/sparc/tm-fbsd.h
new file mode 100644
index 00000000000..f441937668a
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/tm-fbsd.h
@@ -0,0 +1,27 @@
+/* Target-dependent definitions for FreeBSD/sparc64.
+
+ Copyright 2002, 2003 Free Software Foundation, Inc.
+ Contributed by David E. O'Brien <obrien@FreeBSD.org>.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#ifndef TM_FBSD_H
+#define TM_FBSD_H
+
+#define GDB_MULTI_ARCH GDB_MULTI_ARCH_TM
+
+#endif /* tm-fbsd.h */
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/tm-linux.h b/gnu/usr.bin/binutils/gdb/config/sparc/tm-linux.h
new file mode 100644
index 00000000000..ae853ba0acb
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/tm-linux.h
@@ -0,0 +1,29 @@
+/* Target-dependent definitions for GNU/Linux SPARC.
+
+ Copyright 2003 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#ifndef TM_LINUX_H
+#define TM_LINUX_H
+
+#define GDB_MULTI_ARCH GDB_MULTI_ARCH_TM
+
+/* Shared library support. */
+#include "solib.h"
+
+#endif /* tm-linux.h */
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/tm-nbsd64.h b/gnu/usr.bin/binutils/gdb/config/sparc/tm-nbsd64.h
new file mode 100644
index 00000000000..cc1d6b32297
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/tm-nbsd64.h
@@ -0,0 +1,27 @@
+/* Macro definitions for UltraSPARC running under NetBSD.
+ Copyright 1994, 2002 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef TM_NBSD64_H
+#define TM_NBSD64_H
+
+#include "sparc/tm-sp64.h" /* sets GDB_MULTI_ARCH */
+#include "solib.h"
+
+#endif /* TM_NBSD64_H */
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/tm-sol2.h b/gnu/usr.bin/binutils/gdb/config/sparc/tm-sol2.h
new file mode 100644
index 00000000000..d111c1a7768
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/tm-sol2.h
@@ -0,0 +1,40 @@
+/* Target-dependent definitions for Solaris SPARC.
+
+ Copyright 2003 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#ifndef TM_SOL2_H
+#define TM_SOL2_H
+
+#define GDB_MULTI_ARCH GDB_MULTI_ARCH_TM
+
+/* The Sun compilers (Sun ONE Studio, Forte Developer, Sun WorkShop,
+ SunPRO) compiler puts out 0 instead of the address in N_SO stabs.
+ Starting with SunPRO 3.0, the compiler does this for N_FUN stabs
+ too. */
+#define SOFUN_ADDRESS_MAYBE_MISSING
+
+/* The Sun compilers also do "globalization"; see the comment in
+ sparc-tdep.c for more information. */
+extern char *sparc_stabs_unglobalize_name (char *name);
+#define STATIC_TRANSFORM_NAME(name) \
+ sparc_stabs_unglobalize_name (name)
+#define IS_STATIC_TRANSFORM_NAME(name) \
+ ((name) != sparc_stabs_unglobalize_name (name))
+
+#endif /* tm-sol2.h */
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/tm-vxworks.h b/gnu/usr.bin/binutils/gdb/config/sparc/tm-vxworks.h
new file mode 100644
index 00000000000..7b0474847c6
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/tm-vxworks.h
@@ -0,0 +1,31 @@
+/* Target-dependent defenitions for VxWorks SPARC.
+
+ Copyright 1993, 1999, 2004 Free Software Foundation, Inc.
+ Contributed by Cygnus Support.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef TM_VXWORKS_H
+#define TM_VXWORKS_H
+
+#define GDB_MULTI_ARCH GDB_MULTI_ARCH_TM
+
+/* Get generic VxWorks definitions. */
+#include "config/tm-vxworks.h"
+
+#endif /* tm-vxworks.h */
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/vxworks.mt b/gnu/usr.bin/binutils/gdb/config/sparc/vxworks.mt
new file mode 100644
index 00000000000..175f92ed981
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/vxworks.mt
@@ -0,0 +1,4 @@
+# Target: VxWorks SPARC
+TDEPFILES= sparc-tdep.o \
+ remote-vx.o remote-vxsparc.o xdr_ld.o xdr_ptrace.o xdr_rdb.o
+TM_FILE= tm-vxworks.h