aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386/nm-symmetry.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/i386/nm-symmetry.h')
-rw-r--r--gdb/config/i386/nm-symmetry.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/config/i386/nm-symmetry.h b/gdb/config/i386/nm-symmetry.h
index d5e44b5..e8fb6b9 100644
--- a/gdb/config/i386/nm-symmetry.h
+++ b/gdb/config/i386/nm-symmetry.h
@@ -22,6 +22,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define FETCH_INFERIOR_REGISTERS
+/* We must fetch all the regs before storing, since we store all at once. */
+
+#define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES)
+
#ifdef _SEQUENT_
#define CHILD_WAIT
extern int child_wait PARAMS ((int, struct target_waitstatus *));