aboutsummaryrefslogtreecommitdiff
path: root/gdb/nm-m88k.h
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-10-16 20:53:46 +0000
committerK. Richard Pixley <rich@cygnus>1992-10-16 20:53:46 +0000
commit173a4f1bdac6b08dddc43e1fdbb1e291e0f82cb7 (patch)
tree766fea11bc16e9a902777cada910c407b55c8985 /gdb/nm-m88k.h
parentab29288c1f5218fa73fa6c54ccf99f7618523c0b (diff)
downloadfsf-binutils-gdb-173a4f1bdac6b08dddc43e1fdbb1e291e0f82cb7.zip
fsf-binutils-gdb-173a4f1bdac6b08dddc43e1fdbb1e291e0f82cb7.tar.gz
fsf-binutils-gdb-173a4f1bdac6b08dddc43e1fdbb1e291e0f82cb7.tar.bz2
m88k native support
Diffstat (limited to 'gdb/nm-m88k.h')
-rw-r--r--gdb/nm-m88k.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/gdb/nm-m88k.h b/gdb/nm-m88k.h
new file mode 100644
index 0000000..105615c
--- /dev/null
+++ b/gdb/nm-m88k.h
@@ -0,0 +1,24 @@
+/* Native support macros for m88k, for GDB.
+ Copyright 1986, 1987, 1988, 1989, 1990, 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. */
+
+#define FETCH_INFERIOR_REGISTERS
+
+#define REGISTER_U_ADDR(addr, blockend, regno) \
+ (addr) = m88k_register_u_addr ((blockend),(regno));