This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Use frame_unwind_id


Hello,

Very straight forward - use frame_unwind_id instead of get_frame_id (get_prev_frame ()).

committed,
Andrew
? diff.html
? diffs
? emacs.core
? fail.html
? index.html
? new-gdb-events.c
? new-gdb-events.h
? pass.html
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.5863
diff -p -u -r1.5863 ChangeLog
--- ChangeLog	13 May 2004 17:30:41 -0000	1.5863
+++ ChangeLog	13 May 2004 18:37:06 -0000
@@ -1,3 +1,7 @@
+2004-05-13  Andrew Cagney  <cagney@redhat.com>
+
+	* infrun.c (handle_inferior_event): Use frame_unwind_id.
+
 2004-05-13  Bryce McKinlay  <mckinlay@redhat.com>
 
 	* dwarf2loc.c (find_location_expression): Use ANOFFSET to adjust
Index: infrun.c
===================================================================
RCS file: /cvs/src/src/gdb/infrun.c,v
retrieving revision 1.159
diff -p -u -r1.159 infrun.c
--- infrun.c	13 May 2004 16:39:11 -0000	1.159
+++ infrun.c	13 May 2004 18:37:09 -0000
@@ -2437,7 +2437,7 @@ process_event_stop_test:
       return;
     }
 
-  if (frame_id_eq (get_frame_id (get_prev_frame (get_current_frame ())),
+  if (frame_id_eq (frame_unwind_id (get_current_frame ()),
                    step_frame_id))
     {
       /* It's a subroutine call.  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]