aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m88k/nm-cxux.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-07-17 21:08:42 +0000
committerStan Shebs <shebs@codesourcery.com>1994-07-17 21:08:42 +0000
commit670a8e09e903d87c83d212afefb4b76933014e56 (patch)
treee62fe7899e71feea5357052d8f8dc2254862665b /gdb/config/m88k/nm-cxux.h
parent00306b1e9e2e19c5c8f3078f97dfd39a194a1ddc (diff)
downloadgdb-670a8e09e903d87c83d212afefb4b76933014e56.zip
gdb-670a8e09e903d87c83d212afefb4b76933014e56.tar.gz
gdb-670a8e09e903d87c83d212afefb4b76933014e56.tar.bz2
Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com).
* configure.in (m88*-harris-cxux*): New configuration. * cxux-nat.c, config/m88k/cxux.mh, config/m88k/cxux.mt, config/m88k/xm-cxux.h, config/m88k/tm-cxux.h, config/m88k/nm-cxux.h: New files. * config/m88k/tm-m88k.h: Add comment about Harris OS. (TARGET_WRITE_PC): Pass pid through to register writers. * configure.in (m68*): Put vendor-only-specified host configs after vendor-and-os-specified configs. (m68*-atari-sysv4*, m68*-cbm-sysv4*): Replace with m68*-*-sysv4.
Diffstat (limited to 'gdb/config/m88k/nm-cxux.h')
-rw-r--r--gdb/config/m88k/nm-cxux.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/gdb/config/m88k/nm-cxux.h b/gdb/config/m88k/nm-cxux.h
new file mode 100644
index 0000000..24e1426
--- /dev/null
+++ b/gdb/config/m88k/nm-cxux.h
@@ -0,0 +1,32 @@
+/* Native definitions for Motorola 88K running Harris CX/UX
+ Copyright 1993, 1994 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. */
+
+/* Override the standard fetch/store definitions. */
+
+#define FETCH_INFERIOR_REGISTERS
+
+#define REGISTER_U_ADDR(addr, blockend, regno) \
+ (addr) = m88k_register_u_addr ((blockend),(regno));
+
+#define ATTACH_DETACH
+
+#define PTRACE_ATTACH 128
+#define PTRACE_DETACH 129
+
+