diff options
author | Pedro Alves <palves@redhat.com> | 2008-03-14 07:59:32 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-03-14 07:59:32 +0000 |
commit | 0b4e556cc755b45b35d5a50e905bebc707246d19 (patch) | |
tree | 36aacbb36ee7dfd8d2a95473513ef3c5b20bbc7a /gdb | |
parent | be3e620119165a017266af64ae310cd6343a370a (diff) | |
download | gdb-0b4e556cc755b45b35d5a50e905bebc707246d19.zip gdb-0b4e556cc755b45b35d5a50e905bebc707246d19.tar.gz gdb-0b4e556cc755b45b35d5a50e905bebc707246d19.tar.bz2 |
* top.c (execute_command): Enable break, info and interrupt
commands in async mode.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/top.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7a8eb95..3f7b0a8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. */ |