diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-01 19:35:22 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-01 19:35:22 +0000 |
commit | 0e100dab2eb07e9fc9ca155f87172d02439b64cb (patch) | |
tree | c7d780fe2636e683e8ee64f718b2f51b57d7c635 /gdb/dummy-frame.c | |
parent | 55699d593f51fb72de21a8860f53b5b5a11207bd (diff) | |
download | fsf-binutils-gdb-0e100dab2eb07e9fc9ca155f87172d02439b64cb.zip fsf-binutils-gdb-0e100dab2eb07e9fc9ca155f87172d02439b64cb.tar.gz fsf-binutils-gdb-0e100dab2eb07e9fc9ca155f87172d02439b64cb.tar.bz2 |
2004-05-01 Andrew Cagney <cagney@redhat.com>
* frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME.
* dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead
of frame_relative_level.
* sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type
to SENTINEL_FRAME.
* frame.h (enum frame_type): Add SENTINEL_FRAME.
* s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to
frame_relative_level.
Diffstat (limited to 'gdb/dummy-frame.c')
-rw-r--r-- | gdb/dummy-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c index af8e001..216db67 100644 --- a/gdb/dummy-frame.c +++ b/gdb/dummy-frame.c @@ -353,7 +353,7 @@ dummy_frame_this_id (struct frame_info *next_frame, determine the dummy frame's ID. */ (*this_id) = gdbarch_unwind_dummy_id (current_gdbarch, next_frame); } - else if (frame_relative_level (next_frame) < 0) + else if (get_frame_type (next_frame) == SENTINEL_FRAME) { /* We're unwinding a sentinel frame, the PC of which is pointing at a stack dummy. Fake up the dummy frame's ID using the |