aboutsummaryrefslogtreecommitdiff
path: root/gdb/nm-sun3.h
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-10-01 22:44:25 +0000
committerK. Richard Pixley <rich@cygnus>1992-10-01 22:44:25 +0000
commit93282e61398111d4b5da995f46cf5493dba47153 (patch)
treeb57b176990d5a1e354f7ad2aeb33ba73df7406a2 /gdb/nm-sun3.h
parent4090fe1c2bd15b1513674efc5b55ea036a481ee5 (diff)
downloadgdb-93282e61398111d4b5da995f46cf5493dba47153.zip
gdb-93282e61398111d4b5da995f46cf5493dba47153.tar.gz
gdb-93282e61398111d4b5da995f46cf5493dba47153.tar.bz2
Sun3 native support.
* config/sun3os3.mh, config/sun3os4.mh (NAT_FILE, NATDEPFILES): new macros for native support. (XDEPFILES): moved infptrace.o and inftarg.o to NATDEPFILES, removed sun3-xdep.o. * xm-sun3.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to nm-sun3.h. * sun3-xdep.c: removed. All code is now in sun3-nat.c. * sun3-nat.c, nm-sun3.h: new files for native support.
Diffstat (limited to 'gdb/nm-sun3.h')
-rw-r--r--gdb/nm-sun3.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/gdb/nm-sun3.h b/gdb/nm-sun3.h
new file mode 100644
index 0000000..31972bb
--- /dev/null
+++ b/gdb/nm-sun3.h
@@ -0,0 +1,26 @@
+/* Host-dependent definitions for Sun-3 for GDB, the GNU debugger.
+ Copyright 1986, 1987, 1989, 1991, 1992 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. */
+
+/* Do implement the attach and detach commands. */
+
+#define ATTACH_DETACH
+
+/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
+
+#define FETCH_INFERIOR_REGISTERS