This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [MI non-stop 07/11, RFA] Allow all CLI command even if target is executing.


A Friday 11 July 2008 20:04:21, Daniel Jacobowitz wrote:
> On Fri, Jul 11, 2008 at 10:58:24PM +0400, Vladimir Prus wrote:
> > I've of the same opinion. It seems to me that examining each and every
> > command is not quite practical. So, we either get to enable all commands
> > and then disable, or clarify error messages, or disable all commands, and
> > enable those that actually have to work. Enabling all commands seems
> > safer, since the worst problem is inaccurate error message.

> Well, or inconsistent data structures or assertion failures if
> something changes underneath... anyway, good enough for me; it's OK.
> Does this make the command flag obsolete?

That has an easy workaround.  Don't call the command.  Disabling a
command that would otherwise execute fine does not have a workaround
(at least currently it doesn't).

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]