From: Pedro Alves Date: Fri, 14 Mar 2008 07:59:32 +0000 (+0000) Subject: * top.c (execute_command): Enable break, info and interrupt X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b4e556cc755b45b35d5a50e905bebc707246d19;p=binutils-gdb.git * top.c (execute_command): Enable break, info and interrupt commands in async mode. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7a8eb950281..3f7b0a80884 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-03-14 Pedro Alves + + * top.c (execute_command): Enable break, info and interrupt + commands in async mode. + 2008-03-13 Vladimir Prus Daniel Jacobowitz diff --git a/gdb/top.c b/gdb/top.c index 9ad2f54a179..ded24a3aacb 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -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. */