diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-30 10:56:16 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-30 10:56:16 +0000 |
commit | b69600940692d11967b2ae8ceabed2c6c2474c37 (patch) | |
tree | d6b88df7123e7340631685d782fe3f87310793e7 /gdb/gould-tdep.c | |
parent | 8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b (diff) | |
download | gdb-b69600940692d11967b2ae8ceabed2c6c2474c37.zip gdb-b69600940692d11967b2ae8ceabed2c6c2474c37.tar.gz gdb-b69600940692d11967b2ae8ceabed2c6c2474c37.tar.bz2 |
CARP:
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
Diffstat (limited to 'gdb/gould-tdep.c')
-rw-r--r-- | gdb/gould-tdep.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/gould-tdep.c b/gdb/gould-tdep.c index 736ab47..8cd2ee5 100644 --- a/gdb/gould-tdep.c +++ b/gdb/gould-tdep.c @@ -33,6 +33,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Number of elements in the opcode table. */ #define NOPCODES (sizeof gld_opcodes / sizeof gld_opcodes[0]) +int +gould_frame_chain_valid (chain, fi) + CORE_ADDR chain; + struct frame_info *fi; /* not used here */ +{ + return (chain != 0 && chain != (thisframe)->frame); +} + /* Both gcc and cc return small structs in registers (i.e. in GDB terminology, small structs don't use the struct return convention). */ int |