* uw-thread.c (SP_ARG0): Define if not already defined.
authorMark Kettenis <kettenis@gnu.org>
Thu, 15 Aug 2002 19:00:47 +0000 (19:00 +0000)
committerMark Kettenis <kettenis@gnu.org>
Thu, 15 Aug 2002 19:00:47 +0000 (19:00 +0000)
* config/i386/tm-i386.h (SO_ARG0): Remove define.

gdb/ChangeLog
gdb/config/i386/tm-i386.h
gdb/uw-thread.c

index d6aa1b99ffdbeb06c5de1e7be80da1c752d851d8..9895f63e02a6d761394d7174c314d7c70b8978a5 100644 (file)
@@ -1,5 +1,8 @@
 2002-08-15  Mark Kettenis  <kettenis@gnu.org>
 
+       * uw-thread.c (SP_ARG0): Define if not already defined.
+       * config/i386/tm-i386.h (SO_ARG0): Remove define.
+
        * config/i386/tm-i386v4.h (HAVE_I387_REGS): Remove define.
 
        * config/i386/tm-i386.h: Don't include "regcache.h".
index bd5153254b8c10288035cf32b705f101273f60c4..e80b258e7d845489b22af1dc8bed5e3456b27c3a 100644 (file)
@@ -28,8 +28,4 @@
 extern void print_387_control_word (unsigned int);
 extern void print_387_status_word (unsigned int);
 
-/* Offset from SP to first arg on stack at first instruction of a function */
-
-#define SP_ARG0 (1 * 4)
-
 #endif /* ifndef TM_I386_H */
index 617cfbd9f81d43c05b111573bb6779c233741594..cc6ed6daf4c94a0214cb5df4d145aaa0754cb0b2 100644 (file)
 /* 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
This page took 0.032372 seconds and 4 git commands to generate.