aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-02-01 02:59:15 +0000
committerStan Shebs <shebs@codesourcery.com>1996-02-01 02:59:15 +0000
commit97abaf19daafad2fe5a30c64aa1a0b06e2c40665 (patch)
treefbaab150f8ea76fd5b0eab601472f3ddb595e2b7 /gdb/config/m68k
parent28bc5ef7bbabe7a6a9df067f5e9ee9cf33f5dbfb (diff)
downloadgdb-97abaf19daafad2fe5a30c64aa1a0b06e2c40665.zip
gdb-97abaf19daafad2fe5a30c64aa1a0b06e2c40665.tar.gz
gdb-97abaf19daafad2fe5a30c64aa1a0b06e2c40665.tar.bz2
* config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
here from config/i386/xm-i386mach.h, fix name. * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h. * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to here from config/i386/xm-ptx4.h. * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h. * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h. * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h. more housekeeping
Diffstat (limited to 'gdb/config/m68k')
-rw-r--r--gdb/config/m68k/nm-sun3.h9
-rw-r--r--gdb/config/m68k/xm-sun3.h4
2 files changed, 7 insertions, 6 deletions
diff --git a/gdb/config/m68k/nm-sun3.h b/gdb/config/m68k/nm-sun3.h
index 1437c9f..e4ef8f4 100644
--- a/gdb/config/m68k/nm-sun3.h
+++ b/gdb/config/m68k/nm-sun3.h
@@ -1,5 +1,6 @@
-/* Host-dependent definitions for Sun-3 for GDB, the GNU debugger.
- Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc.
+/* Native-only definitions for Sun-3 for GDB, the GNU debugger.
+ Copyright (C) 1986, 1987, 1989, 1991, 1992, 1996
+ Free Software Foundation, Inc.
This file is part of GDB.
@@ -24,3 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
#define FETCH_INFERIOR_REGISTERS
+
+/* We have to grab the regs since we store all regs at once. */
+
+#define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES)
diff --git a/gdb/config/m68k/xm-sun3.h b/gdb/config/m68k/xm-sun3.h
index 001af8a..3de7446 100644
--- a/gdb/config/m68k/xm-sun3.h
+++ b/gdb/config/m68k/xm-sun3.h
@@ -19,10 +19,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define HOST_BYTE_ORDER BIG_ENDIAN
-/* We have to grab the regs since we store all regs at once. */
-
-#define CHILD_PREPARE_TO_STORE() \
- read_register_bytes (0, (char *)NULL, REGISTER_BYTES)
/* Interface definitions for kernel debugger KDB. */