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 | 1d225535c758c8c65bff1dcebda3b3027486f33a (patch) | |
tree | 789bf01229bbe7168b74a931ce20afbaa56ac669 /gdb | |
parent | 6df114aef5b9cab30affa3e3748509a5d76379fd (diff) | |
download | binutils-1d225535c758c8c65bff1dcebda3b3027486f33a.zip binutils-1d225535c758c8c65bff1dcebda3b3027486f33a.tar.gz binutils-1d225535c758c8c65bff1dcebda3b3027486f33a.tar.bz2 |
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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/frame.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e90ee92..f294ea8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2004-11-10 Randolph Chung <tausq@debian.org> + * frame.c (get_prev_frame): Use get_frame_type to retrieve the + frame's type. + +2004-11-10 Randolph Chung <tausq@debian.org> + * blockframe.c (inside_entry_func): Move to ..... * frame.c (inside_entry_func): ... here, and make static. (backtrace_past_entry): New flag. diff --git a/gdb/frame.c b/gdb/frame.c index d0d77f5..25b32f4 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"); |