diff options
author | Randolph Chung <tausq@debian.org> | 2004-11-10 23:26:33 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-11-10 23:26:33 +0000 |
commit | 3e3b8a738543f2c9cc668a6e77581d78b4429f2f (patch) | |
tree | b99a4c799b7bd5ff5d5564c4fcf5e20a73d86697 /gdb/frame.c | |
parent | 4dbd153a4e200e4b6c1253b07808cd80bfb1d9ae (diff) | |
download | gdb-3e3b8a738543f2c9cc668a6e77581d78b4429f2f.tar.gz |
2004-11-10 Randolph Chung <tausq@debian.org>
* frame.c (get_prev_frame): Use get_frame_type to retrieve the
frame's type.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r-- | gdb/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index d0d77f50a4a..25b32f49154 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -1239,7 +1239,7 @@ get_prev_frame (struct frame_info *this_frame) stop at main, we should at least stop at the entry point of the application. */ if (!backtrace_past_entry - && this_frame->unwind->type != DUMMY_FRAME && this_frame->level >= 0 + && get_frame_type (this_frame) != DUMMY_FRAME && this_frame->level >= 0 && inside_entry_func (this_frame)) { frame_debug_got_null_frame (gdb_stdlog, this_frame, "inside entry func"); |