aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-03-31 19:40:28 +0000
committerAndrew Cagney <cagney@redhat.com>2004-03-31 19:40:28 +0000
commit5613d8d3a362f344d7d88f0c00228006b8f85aa8 (patch)
treefa78fa73393e1607252b783bbe4c970e3469e31c /gdb/infrun.c
parentc4557624e52a12aaf6633fc017228d449b7bdeb8 (diff)
downloadgdb-5613d8d3a362f344d7d88f0c00228006b8f85aa8.zip
gdb-5613d8d3a362f344d7d88f0c00228006b8f85aa8.tar.gz
gdb-5613d8d3a362f344d7d88f0c00228006b8f85aa8.tar.bz2
2004-03-31 Andrew Cagney <cagney@redhat.com>
* frame.h (frame_unwind_id): Declare. * frame.c (frame_unwind_id): New function. (get_prev_frame_1): New function. (frame_debug_got_null_frame): New function. (get_prev_frame): Use frame_debug_got_null_frame. Move unwind code proper to prev_frame, update description. * infrun.c (step_over_function): Use frame_unwind_id.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index aaf6ac8..b1d03e3 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -2959,7 +2959,7 @@ step_over_function (struct execution_control_state *ecs)
sr_id = get_frame_id (get_current_frame ());
}
else
- sr_id = get_frame_id (get_prev_frame (get_current_frame ()));
+ sr_id = frame_unwind_id (get_current_frame ());
step_resume_breakpoint = set_momentary_breakpoint (sr_sal, sr_id, bp_step_resume);