* gdbtk-cmds.c (gdb_cmd): Do not run the timer when downloading --
authorKeith Seitz <keiths@cygnus>
Wed, 2 Sep 1998 19:01:13 +0000 (19:01 +0000)
committerKeith Seitz <keiths@cygnus>
Wed, 2 Sep 1998 19:01:13 +0000 (19:01 +0000)
        the ui_progress_hook that has been installed will actually
        update the gui for us.

gdb/ChangeLog-gdbtk
gdb/gdbtk-cmds.c

index d4baa251a6cb8bdae9e3e56a83feeb123ec29ab4..49f8f8fe50c14ef4573f224e32b729c4c93eb58f 100644 (file)
@@ -1,3 +1,9 @@
+1998-09-02  Keith Seitz  <keiths@cygnus.com>
+
+       * gdbtk-cmds.c (gdb_cmd): Do not run the timer when downloading --
+       the ui_progress_hook that has been installed will actually
+       update the gui for us.
+
 Mon Aug 31 15:42:10 1998  Tom Tromey  <tromey@cygnus.com>
 
        * gdbtk-hooks.c (context_hook): Don't define.
index 674f8372e8d24b5aed0525ef6d8ccfdefdcf39a7..26b9721bc977dbafc0099d8b425a96c5e9ec6c40 100644 (file)
@@ -666,19 +666,16 @@ gdb_cmd (clientData, interp, objc, objv)
      set turn off the GDBTK_TO_RESULT flag bit so gdbtk_fputs() 
      will not buffer all the data until the command is finished. */
 
-  if ((strncmp ("load ", Tcl_GetStringFromObj (objv[1], NULL), 5) == 0)
-      || (strncmp ("while ", Tcl_GetStringFromObj (objv[1], NULL), 6) == 0))
+  if ((strncmp ("load ", Tcl_GetStringFromObj (objv[1], NULL), 5) == 0))
     {
       result_ptr->flags &= ~GDBTK_TO_RESULT;
       load_in_progress = 1;
-      gdbtk_start_timer ();
     }
 
   execute_command (Tcl_GetStringFromObj (objv[1], NULL), 1);
 
   if (load_in_progress)
     {
-      gdbtk_stop_timer ();
       load_in_progress = 0;
       result_ptr->flags |= GDBTK_TO_RESULT;
     }
This page took 0.026528 seconds and 4 git commands to generate.