* config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
[deliverable/binutils-gdb.git] / gdb / ocd.c
index d7935800860ad7cfdbfda79db68ec8233b08c564..e735fe01a45d86e2537c20d3fca624108f68e887 100644 (file)
--- a/gdb/ocd.c
+++ b/gdb/ocd.c
@@ -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 */
This page took 0.023154 seconds and 4 git commands to generate.