aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-13 07:22:50 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-13 07:22:50 +0000
commit841c051c44d5423640f593615404820013750402 (patch)
treea8546ad4e6230281c17353116ec9f042c2ecd2f6 /gdb/inferior.h
parent* exec.c (exec_command): If NEED_TEXT_START_END, define the (diff)
downloadbinutils-gdb-841c051c44d5423640f593615404820013750402.tar.gz
binutils-gdb-841c051c44d5423640f593615404820013750402.tar.bz2
binutils-gdb-841c051c44d5423640f593615404820013750402.zip
* inferior.h: Eliminate CANNOT_EXECUTE_STACK in favor of
defining CALL_DUMMY_LOCATION as BEFORE_TEXT_END. This is because machines that do this will also have to know to set NEED_TEXT_START_END. Besides, it was a redundant way to say the same thing. * tm-29k.h, tm-convex.h, tm-np1.h: Eliminate CANNOT_EXECUTE_STACK, define CALL_DUMMY_LOCATION and NEED_TEXT_START_END.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 151c2c2b25c..eed848ceffa 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -187,11 +187,7 @@ int attach_flag;
#define AFTER_TEXT_END 3
#if !defined (CALL_DUMMY_LOCATION)
-#if defined (CANNOT_EXECUTE_STACK)
-#define CALL_DUMMY_LOCATION BEFORE_TEXT_END
-#else /* Can execute stack. */
#define CALL_DUMMY_LOCATION ON_STACK
-#endif /* Can execute stack. */
#endif /* No CALL_DUMMY_LOCATION. */
/* Are we in a call dummy? The code below which allows DECR_PC_AFTER_BREAK