diff options
author | John Gilmore <gnu@cygnus> | 1991-09-13 07:22:50 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-09-13 07:22:50 +0000 |
commit | 841c051c44d5423640f593615404820013750402 (patch) | |
tree | a8546ad4e6230281c17353116ec9f042c2ecd2f6 /gdb/tm-convex.h | |
parent | 7730bd5acd72be89de4d1d5a956d46e691c8b745 (diff) | |
download | gdb-841c051c44d5423640f593615404820013750402.zip gdb-841c051c44d5423640f593615404820013750402.tar.gz gdb-841c051c44d5423640f593615404820013750402.tar.bz2 |
* 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/tm-convex.h')
-rw-r--r-- | gdb/tm-convex.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gdb/tm-convex.h b/gdb/tm-convex.h index 405dc80..be981b7 100644 --- a/gdb/tm-convex.h +++ b/gdb/tm-convex.h @@ -302,9 +302,6 @@ extern struct value *value_of_trapped_internalvar (); /* Pcc occaisionally puts an SO where there should be an SOL. */ #define PCC_SOL_BROKEN - -/* Cannot execute with pc on the stack. */ -#define CANNOT_EXECUTE_STACK /* Describe the pointer in each stack frame to the previous stack frame (its caller). */ @@ -330,6 +327,11 @@ extern struct value *value_of_trapped_internalvar (); /* Define other aspects of the stack frame. */ +/* We need the boundaries of the text in the exec file, as a kludge, + for FRAMELESS_FUNCTION_INVOCATION and CALL_DUMMY_LOCATION. */ + +#define NEED_TEXT_START_END + /* A macro that tells us whether the function invocation represented by FI does not have a frame on the stack associated with it. If it does not, FRAMELESS is set to 1, else 0. @@ -451,6 +453,8 @@ extern struct value *value_of_trapped_internalvar (); /* Things needed for making the inferior call functions. */ +#define CALL_DUMMY_LOCATION BEFORE_TEXT_END + /* Push an empty stack frame, to record the current PC, etc. */ #define PUSH_DUMMY_FRAME \ |