diff options
Diffstat (limited to 'gdb/ocd.c')
-rw-r--r-- | gdb/ocd.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -254,9 +254,7 @@ ocd_start_remote (PTR dummy) flush_cached_frames (); registers_changed (); stop_pc = read_pc (); - set_current_frame (create_new_frame (read_fp (), stop_pc)); - select_frame (get_current_frame ()); - print_stack_frame (deprecated_selected_frame, -1, 1); + print_stack_frame (get_selected_frame (), -1, 1); buf[0] = OCD_LOG_FILE; buf[1] = 3; /* close existing WIGGLERS.LOG */ |