aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/nm-sun4os4.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-02-01 02:47:32 +0000
committerStan Shebs <shebs@codesourcery.com>1996-02-01 02:47:32 +0000
commit28bc5ef7bbabe7a6a9df067f5e9ee9cf33f5dbfb (patch)
tree5a4b9c25d69e3abc9d5ef9a274c9a2f4b8526c76 /gdb/config/sparc/nm-sun4os4.h
parent0ff513d9127d616c5a71122b7aba9e5b8d5503f0 (diff)
downloadgdb-28bc5ef7bbabe7a6a9df067f5e9ee9cf33f5dbfb.zip
gdb-28bc5ef7bbabe7a6a9df067f5e9ee9cf33f5dbfb.tar.gz
gdb-28bc5ef7bbabe7a6a9df067f5e9ee9cf33f5dbfb.tar.bz2
* config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
* config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Move to here from config/sparc/xm-nbsd.h. * config/sparc/nm-sun4os4 (CHILD_PREPARE_TO_STORE): Ditto, from config/sparc/xm-sparc.h. * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h. (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h. * config/sparc/sun4sol2.mh (NAT_FILE): Update. * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove. housekeeping
Diffstat (limited to 'gdb/config/sparc/nm-sun4os4.h')
-rw-r--r--gdb/config/sparc/nm-sun4os4.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/config/sparc/nm-sun4os4.h b/gdb/config/sparc/nm-sun4os4.h
index 1b7fabb..9da96be 100644
--- a/gdb/config/sparc/nm-sun4os4.h
+++ b/gdb/config/sparc/nm-sun4os4.h
@@ -25,6 +25,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define FETCH_INFERIOR_REGISTERS
+/* Before storing, we need to read all the registers. */
+
+#define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES)
+
/* Return sizeof user struct to callers in less machine dependent routines */
#define KERNEL_U_SIZE kernel_u_size()