* top.c (execute_command): Enable break, info and interrupt
commands in async mode.
This commit is contained in:
parent
be3e620119
commit
0b4e556cc7
@ -1,3 +1,8 @@
|
||||
2008-03-14 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* top.c (execute_command): Enable break, info and interrupt
|
||||
commands in async mode.
|
||||
|
||||
2008-03-13 Vladimir Prus <vladimir@codesourcery.com>
|
||||
Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
|
@ -405,7 +405,10 @@ 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, "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."));
|
||||
|
||||
/* Pass null arg rather than an empty one. */
|
||||
|
Loading…
Reference in New Issue
Block a user