aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1997-02-10 21:52:46 +0000
committerStu Grossman <grossman@cygnus>1997-02-10 21:52:46 +0000
commit40dffa42ba9d23b9689c278b196f119714aa3258 (patch)
treeb4a36e286a0f54713ff42ce0140b5b745673eefe /gdb/gdbtk.c
parent797b43f662ae9011440afe63c5f2d54532f0bf3d (diff)
downloadgdb-40dffa42ba9d23b9689c278b196f119714aa3258.zip
gdb-40dffa42ba9d23b9689c278b196f119714aa3258.tar.gz
gdb-40dffa42ba9d23b9689c278b196f119714aa3258.tar.bz2
* gdbtk.c (call_wrapper): Clear running_now if an error occurs.
This fixes PR 11323, where gdbtk stops responding if an error occurs.
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index bb781f0..c27534d 100644
--- a/gdb/gdbtk.c
+++ b/gdb/gdbtk.c
@@ -813,6 +813,7 @@ call_wrapper (clientData, interp, argc, argv)
mode because gdbtk_call_command may have bombed out while in
the command routine. */
+ running_now = 0;
Tcl_Eval (interp, "gdbtk_tcl_idle");
}