aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-01-03 12:09:48 +0000
committerMark Kettenis <kettenis@gnu.org>2004-01-03 12:09:48 +0000
commitcb1bf9dc6767da76cfb9f5d45c777fd56eeb444c (patch)
tree329aa1887c2abf759fcc8339f95aaace5e4313e0 /gdb/config
parent5e938f9ff1f0f78008b862d8f407237b3c628370 (diff)
downloadgdb-cb1bf9dc6767da76cfb9f5d45c777fd56eeb444c.zip
gdb-cb1bf9dc6767da76cfb9f5d45c777fd56eeb444c.tar.gz
gdb-cb1bf9dc6767da76cfb9f5d45c777fd56eeb444c.tar.bz2
* configure.tgt: Add back sparc-*-vxworks*.
* remote-vxsparc.c: Remove all includes except for "defs.h", "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h". Include "sparc-tdep.h". (SPARC_R_G1): New define. (vxsparc_gregset): New variable. (ext_format_sparc): Remove extern declaration. (vx_read_register): Rewrite to use sparc32_supply_gregset and sparc32_supply_fpregset. (vx_write_register): Rewrite to use sparc32_collect_gregset, sparc_collect_rwindow and sparc32_collect_fpregset. * config/sparc/tm-vxworks.h: New file, based on recently removed tm-vxsparc.h. * config/sparc/vxworks.mt: New file, based on recently removed vxworks.mt.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/sparc/tm-vxworks.h31
-rw-r--r--gdb/config/sparc/vxworks.mt4
2 files changed, 35 insertions, 0 deletions
diff --git a/gdb/config/sparc/tm-vxworks.h b/gdb/config/sparc/tm-vxworks.h
new file mode 100644
index 0000000..7b04748
--- /dev/null
+++ b/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/gdb/config/sparc/vxworks.mt b/gdb/config/sparc/vxworks.mt
new file mode 100644
index 0000000..175f92e
--- /dev/null
+++ b/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