2004-11-10 Randolph Chung <tausq@debian.org>
authorRandolph Chung <tausq@debian.org>
Wed, 10 Nov 2004 23:26:33 +0000 (23:26 +0000)
committerRandolph Chung <tausq@debian.org>
Wed, 10 Nov 2004 23:26:33 +0000 (23:26 +0000)
* frame.c (get_prev_frame): Use get_frame_type to retrieve the
    frame's type.

gdb/ChangeLog
gdb/frame.c

index e90ee925a3b5b2b58c7c68f8fceb319edca8aa7c..f294ea85bb48fb4d8d54589aad0f7844e2a2f67c 100644 (file)
@@ -1,3 +1,8 @@
+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 .....
index d0d77f50a4a2bc1c4cffd4a08afe2045089b3e23..25b32f49154b426c80c1a09bfc3253084f17a2b5 100644 (file)
@@ -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");