diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-13 18:42:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-13 18:42:29 +0000 |
commit | 4a72a2a60cb6e1ca49c2e19900ad11f1cf0d8483 (patch) | |
tree | de33ebc464723f7adf4c794ac148ffb276952392 /gdb | |
parent | 4b1cb4fee6c24a634721053aa48a2217c8b7bc58 (diff) | |
download | gdb-4a72a2a60cb6e1ca49c2e19900ad11f1cf0d8483.zip gdb-4a72a2a60cb6e1ca49c2e19900ad11f1cf0d8483.tar.gz gdb-4a72a2a60cb6e1ca49c2e19900ad11f1cf0d8483.tar.bz2 |
2004-05-13 Andrew Cagney <cagney@redhat.com>
* infrun.c (handle_inferior_event): Use frame_unwind_id.
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. */
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/infrun.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d035f95..dc5497e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/infrun.c b/gdb/infrun.c index bec8746..0ba857b 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -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. */ |