aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk-cmds.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@cygnus>1998-09-02 19:01:13 +0000
committerKeith Seitz <keiths@cygnus>1998-09-02 19:01:13 +0000
commitb2a9dbf70f1155178d256288872fcf150202a908 (patch)
tree3b6dcd5c88ba8d26849de5820ea080f6bc5a5c51 /gdb/gdbtk-cmds.c
parent2dabca81bae23f4b872b980bbf25fc25186f5754 (diff)
downloadgdb-b2a9dbf70f1155178d256288872fcf150202a908.zip
gdb-b2a9dbf70f1155178d256288872fcf150202a908.tar.gz
gdb-b2a9dbf70f1155178d256288872fcf150202a908.tar.bz2
* 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.
Diffstat (limited to 'gdb/gdbtk-cmds.c')
-rw-r--r--gdb/gdbtk-cmds.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/gdbtk-cmds.c b/gdb/gdbtk-cmds.c
index 674f837..26b9721 100644
--- a/gdb/gdbtk-cmds.c
+++ b/gdb/gdbtk-cmds.c
@@ -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;
}