2002-12-17 Andrew Cagney <ac131313@redhat.com>
* stack.c (frame_info): Use get_frame_saved_regs. * breakpoint.c (until_break_command): Use get_frame_pc.
This commit is contained in:
parent
4cd898632a
commit
30f7db39bd
3 changed files with 8 additions and 3 deletions
|
@ -5649,8 +5649,8 @@ until_break_command (char *arg, int from_tty)
|
|||
|
||||
if (prev_frame)
|
||||
{
|
||||
sal = find_pc_line (prev_frame->pc, 0);
|
||||
sal.pc = prev_frame->pc;
|
||||
sal = find_pc_line (get_frame_pc (prev_frame), 0);
|
||||
sal.pc = get_frame_pc (prev_frame);
|
||||
breakpoint = set_momentary_breakpoint (sal, get_frame_id (prev_frame),
|
||||
bp_until);
|
||||
if (!event_loop_p || !target_can_async_p ())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue