diff options
author | Pedro Alves <palves@redhat.com> | 2008-03-14 15:46:32 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-03-14 15:46:32 +0000 |
commit | ff9b3928e9fab5ea4de31101179059c4b91ad9d8 (patch) | |
tree | 0b875f545a35ea43aabe3448d80536edf362a9be /gdb/top.c | |
parent | b18392efbed6c18ecb7430dee65308e96e35cbf7 (diff) | |
download | gdb-ff9b3928e9fab5ea4de31101179059c4b91ad9d8.zip gdb-ff9b3928e9fab5ea4de31101179059c4b91ad9d8.tar.gz gdb-ff9b3928e9fab5ea4de31101179059c4b91ad9d8.tar.bz2 |
* top.c (execute_command): Disable break and stop
commands in async mode.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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.")); |