aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbtk.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 61bba5a..471c8ce 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Mon Feb 10 13:50:53 1997 Stu Grossman (grossman@critters.cygnus.com)
+
+ * gdbtk.c (call_wrapper): Clear running_now if an error occurs.
+ This fixes PR 11323, where gdbtk stops responding if an error occurs.
+
Mon Feb 10 07:54:26 1997 Fred Fish <fnf@cygnus.com>
* xcoffread.c (RECORD_MINIMAL_SYMBOL): Add NULL asection* parameter
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");
}