aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-05-05 01:15:13 +0000
committerAndrew Cagney <cagney@redhat.com>2002-05-05 01:15:13 +0000
commit0f7d239c5ad7daea45f8b300b5308f90b76647a7 (patch)
tree7464cf807bb17dc7ed0dc1a30a91a33464ad5aab /gdb/infrun.c
parente7ba5db766078c474b5909a042d6c41ebe2f3e3a (diff)
downloadgdb-0f7d239c5ad7daea45f8b300b5308f90b76647a7.zip
gdb-0f7d239c5ad7daea45f8b300b5308f90b76647a7.tar.gz
gdb-0f7d239c5ad7daea45f8b300b5308f90b76647a7.tar.bz2
* frame.h (select_frame): Delete level parameter.
* stack.c (select_frame): Update. Use frame_relative_level to obtain the frame's level. (select_and_print_frame): Update call. (select_frame_command): Ditto. (up_silently_base): Ditto. (down_silently_base): Ditto. * ocd.c (ocd_start_remote): Ditto. * remote-rdp.c (remote_rdp_open): Ditto. * remote-mips.c (mips_initialize): Ditto. (common_open): Ditto. * remote-e7000.c (e7000_start_remote): Ditto. * m3-nat.c (select_thread): Ditto. * hppa-tdep.c (child_get_current_exception_event): Ditto. (child_get_current_exception_event): Ditto. * varobj.c (varobj_create): Ditto. (varobj_update): Ditto. (c_value_of_root): Ditto. * tracepoint.c (finish_tfind_command): Ditto. * corelow.c (core_open): Ditto. * arch-utils.c (generic_prepare_to_proceed): Ditto. * thread.c (info_threads_command): Ditto. (switch_to_thread): Ditto. * infrun.c (normal_stop): Ditto. (restore_selected_frame): Ditto. (restore_inferior_status): Ditto. * breakpoint.c (insert_breakpoints): Ditto. (watchpoint_check): Ditto. (bpstat_stop_status): Ditto. (do_enable_breakpoint): Ditto. * blockframe.c (flush_cached_frames): Ditto. (reinit_frame_cache): Ditto.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index acb7220..e9fea2a 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -3441,7 +3441,7 @@ and/or watchpoints.\n");
if (!stop_stack_dummy)
{
- select_frame (get_current_frame (), 0);
+ select_frame (get_current_frame ());
/* Print current location without a level number, if
we have changed functions or hit a breakpoint.
@@ -3517,7 +3517,7 @@ and/or watchpoints.\n");
Can't rely on restore_inferior_status because that only gets
called if we don't stop in the called function. */
stop_pc = read_pc ();
- select_frame (get_current_frame (), 0);
+ select_frame (get_current_frame ());
}
done:
@@ -4024,7 +4024,7 @@ restore_selected_frame (void *args)
return 0;
}
- select_frame (frame, fr->level);
+ select_frame (frame);
return (1);
}
@@ -4079,7 +4079,7 @@ restore_inferior_status (struct inferior_status *inf_status)
frame. */
- select_frame (get_current_frame (), 0);
+ select_frame (get_current_frame ());
}