* top.c (execute_command): Disable break and stop
commands in async mode.
This commit is contained in:
parent
b18392efbe
commit
ff9b3928e9
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-03-14 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* top.c (execute_command): Disable break and stop
|
||||
commands in async mode.
|
||||
|
||||
2008-03-14 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
revert:
|
||||
|
|
|
@ -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."));
|
||||
|
|
Loading…
Add table
Reference in a new issue