summaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2008-03-14 15:46:32 +0000
committerPedro Alves <pedro@codesourcery.com>2008-03-14 15:46:32 +0000
commit24e08d61a82db1a447c27fec171df37f6a74b756 (patch)
tree1ce87021275f5f9173518ca26a763fc6b3c6c117 /gdb/top.c
parentabd2dcdc5a6f832cf6d5d349c590f80e8d71ffe2 (diff)
downloadgdb-24e08d61a82db1a447c27fec171df37f6a74b756.tar.gz
* top.c (execute_command): Disable break and stop
commands in async mode.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/top.c b/gdb/top.c
index ded24a3aacb..fba212b01b7 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -405,8 +405,6 @@ execute_command (char *p, int from_tty)
if (strcmp (c->name, "help") != 0
&& strcmp (c->name, "pwd") != 0
&& strcmp (c->name, "show") != 0
- && strcmp (c->name, "stop") != 0
- && strcmp (c->name, "break") != 0
&& strcmp (c->name, "info") != 0
&& strcmp (c->name, "interrupt") != 0)
error (_("Cannot execute this command while the target is running."));