aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-i386v.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-03-04 20:50:10 +0000
committerFred Fish <fnf@specifix.com>1992-03-04 20:50:10 +0000
commitd7eddc517782bf0673e4bcd15c4159ae5799a247 (patch)
tree5cbaafd5433cb047b3a50693a4120fa5d0de4ae7 /gdb/tm-i386v.h
parentc7cb8acbe8eb1226ef76fe716aa050d3b9d0e860 (diff)
downloadgdb-d7eddc517782bf0673e4bcd15c4159ae5799a247.zip
gdb-d7eddc517782bf0673e4bcd15c4159ae5799a247.tar.gz
gdb-d7eddc517782bf0673e4bcd15c4159ae5799a247.tar.bz2
* defs.h, utils.c: xrealloc takes PTR as first arg.
* defs.h: Reword confusing comment about ANSI prototypes. * defs.h: Some minor whitespace changes. * infrun.c (wait_for_inferior): Compare int tmp to int 0, not NULL, which can be (void *). * tm-amix.h, tm-i386v4.h: Add defines for setjmp/longjmp handling. * tm-i386v.h (SP_ARG0): Define * xm-sysv4.h: Back out of change for missing prototypes. * i386-tdep.c (get_longjmp_target): Add function.
Diffstat (limited to 'gdb/tm-i386v.h')
-rw-r--r--gdb/tm-i386v.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/tm-i386v.h b/gdb/tm-i386v.h
index 5c65423..01644e8 100644
--- a/gdb/tm-i386v.h
+++ b/gdb/tm-i386v.h
@@ -332,4 +332,8 @@ print_387_control_word PARAMS ((unsigned int));
extern void
print_387_status_word PARAMS ((unsigned int));
+/* Offset from SP to first arg on stack at first instruction of a function */
+
+#define SP_ARG0 (1 * 4)
+
#endif /* !defined (TM_I386V_H) */