Replace "exec" with "executable" in messages.
[deliverable/binutils-gdb.git] / gdb / gdbtk-hooks.c
index d4a9fa1bbcedcf3c8c5cdb7a5c5a2cb77e381900..ff2e7f51d90dc85efae6d6cf939ea25be30fe361 100644 (file)
@@ -111,7 +111,6 @@ static void pc_changed PARAMS ((void));
 static void tracepoint_notify PARAMS ((struct tracepoint *, const char *));
 static void gdbtk_selected_frame_changed PARAMS ((int));
 static void gdbtk_context_change PARAMS ((int));
-void (*context_hook) PARAMS ((int));
 
 /*
  * gdbtk_fputs can't be static, because we need to call it in gdbtk.c.
@@ -594,7 +593,9 @@ gdbtk_wait (pid, ourstatus)
      int pid;
      struct target_waitstatus *ourstatus;
 {
-  gdbtk_start_timer ();
+  /* Don't run the timer on various targets... */
+  if (!STREQ (target_shortname, "ice"))
+    gdbtk_start_timer ();
   pid = target_wait (pid, ourstatus);
   gdbtk_stop_timer ();
   return pid;
This page took 0.023548 seconds and 4 git commands to generate.