diff options
author | Mark Kettenis <kettenis@gnu.org> | 2002-08-15 19:00:47 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2002-08-15 19:00:47 +0000 |
commit | 6acc648592b8769530b440d1597185ddc6a5048b (patch) | |
tree | 4443f8573f6bcdfa34f07de95084f8b4f2027ee2 /gdb/uw-thread.c | |
parent | d59495a76b1bf36c0beb02084ea08e06417f94e4 (diff) | |
download | gdb-6acc648592b8769530b440d1597185ddc6a5048b.tar.gz |
* uw-thread.c (SP_ARG0): Define if not already defined.
* config/i386/tm-i386.h (SO_ARG0): Remove define.
Diffstat (limited to 'gdb/uw-thread.c')
-rw-r--r-- | gdb/uw-thread.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/uw-thread.c b/gdb/uw-thread.c index 617cfbd9f81..cc6ed6daf4c 100644 --- a/gdb/uw-thread.c +++ b/gdb/uw-thread.c @@ -116,6 +116,14 @@ /* Prototypes for supply_gregset etc. */ #include "gregset.h" +/* Offset from SP to first arg on stack at first instruction of a + function. We provide a default here that's right for most, if not + all, targets that use this file. */ + +#ifndef SP_ARG0 +#define SP_ARG0 (1 * 4) +#endif + /* Whether to emit debugging output. */ #define DEBUG 0 |