* gdbtk.c (running_now): New global variable.
authorStan Shebs <shebs@codesourcery.com>
Fri, 5 Apr 1996 21:52:38 +0000 (21:52 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 5 Apr 1996 21:52:38 +0000 (21:52 +0000)
commitfda6fadc0dacdf23d85af0da8546e30ae8d79f73
tree06042c51b20af6e5514d7646db26f6e8044856ad
parent6cc7365e2b682389efdaf16431189f7762805bc3
* gdbtk.c (running_now): New global variable.
(gdb_cmd): Test it before executing any command.
(gdbtk_call_command): Set it when inferior is running.
* gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
disable interaction with command window's text appropriately.
gdb/ChangeLog
gdb/gdbtk.c
gdb/gdbtk.tcl