diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-19 23:27:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-19 23:27:28 +0000 |
commit | dedc2a2b6559e402f90c322d37953d1875381b76 (patch) | |
tree | 743b5859a05fcbeeb90398d2951c84b71a67c692 /gdb/frame.c | |
parent | b7261c70f17360b2abbadbc0bbed3caabd1b23f6 (diff) | |
download | gdb-dedc2a2b6559e402f90c322d37953d1875381b76.zip gdb-dedc2a2b6559e402f90c322d37953d1875381b76.tar.gz gdb-dedc2a2b6559e402f90c322d37953d1875381b76.tar.bz2 |
2003-01-19 Andrew Cagney <ac131313@redhat.com>
* frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
* gdbarch.sh (POP_FRAME): Change to function with predicate.
Suppress actual parameters when `-'.
* gdbarch.h, gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r-- | gdb/frame.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index 9fb5e9b..b00eebc 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -731,6 +731,7 @@ static void frame_saved_regs_pop (struct frame_info *fi, void **cache, struct regcache *regcache) { + gdb_assert (POP_FRAME_P ()); POP_FRAME; } |