aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-02-25 22:05:00 +0000
committerStan Shebs <shebs@codesourcery.com>1996-02-25 22:05:00 +0000
commit8fa6fcf829ba167f8e10e4a1a25d09a378aed926 (patch)
treecd067e7cfc9dd5ace6fe6926f38caadb93603dd2 /gdb/config
parent15f4406cf897e77bbe6171917463e89023a98b76 (diff)
downloadgdb-8fa6fcf829ba167f8e10e4a1a25d09a378aed926.zip
gdb-8fa6fcf829ba167f8e10e4a1a25d09a378aed926.tar.gz
gdb-8fa6fcf829ba167f8e10e4a1a25d09a378aed926.tar.bz2
* configure.in (mips*-*-vxworks*): New config.
* configure: Regenerated. * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files. * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual): Remove, never used.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/mips/tm-vxmips.h31
-rw-r--r--gdb/config/mips/vxmips.mt3
2 files changed, 34 insertions, 0 deletions
diff --git a/gdb/config/mips/tm-vxmips.h b/gdb/config/mips/tm-vxmips.h
new file mode 100644
index 0000000..392a929
--- /dev/null
+++ b/gdb/config/mips/tm-vxmips.h
@@ -0,0 +1,31 @@
+/* Target machine description for VxWorks MIPS's, for GDB, the GNU debugger.
+ Copyright 1996 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. */
+
+#define GDBINIT_FILENAME ".vxgdbinit"
+
+#define DEFAULT_PROMPT "(vxgdb) "
+
+#include "mips/tm-mips.h"
+
+/* FIXME: These are almost certainly wrong. */
+
+/* Number of registers in a ptrace_getregs call. */
+
+#define VX_NUM_REGS (NUM_REGS)
diff --git a/gdb/config/mips/vxmips.mt b/gdb/config/mips/vxmips.mt
new file mode 100644
index 0000000..a20cf96
--- /dev/null
+++ b/gdb/config/mips/vxmips.mt
@@ -0,0 +1,3 @@
+# Target: MIPS running VxWorks
+TDEPFILES= mips-tdep.o remote-vx.o remote-vxmips.o xdr_ld.o xdr_ptrace.o xdr_rdb.o
+TM_FILE= tm-vxmips.h