diff options
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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. */ |