aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/nm-nbsd.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-nbsd.h
parent0ff513d9127d616c5a71122b7aba9e5b8d5503f0 (diff)
downloadbinutils-28bc5ef7bbabe7a6a9df067f5e9ee9cf33f5dbfb.zip
binutils-28bc5ef7bbabe7a6a9df067f5e9ee9cf33f5dbfb.tar.gz
binutils-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-nbsd.h')
-rw-r--r--gdb/config/sparc/nm-nbsd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/config/sparc/nm-nbsd.h b/gdb/config/sparc/nm-nbsd.h
index 5420745..0ab5c1a 100644
--- a/gdb/config/sparc/nm-nbsd.h
+++ b/gdb/config/sparc/nm-nbsd.h
@@ -1,5 +1,6 @@
/* Native-dependent definitions for Sparc running NetBSD, for GDB.
- Copyright 1986, 1987, 1989, 1992 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 1992, 1995, 1996
+ Free Software Foundation, Inc.
This file is part of GDB.
@@ -25,4 +26,8 @@ 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)
+
#endif /* NM_NBSD_H */