This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: BUG? gdb, non-stop && c -a
On Wed, 21 Jul 2010 09:56:44 +0200, Oleg Nesterov wrote:
> On 07/20, Roland McGrath wrote:
> > > CTRL-C is not useful in target-async mode.
> >
> > Now that's just a bug. Even if known and intended in the code,
> > it's clearly a misfeature from any sensible user perspective.
>
> To avoid the confusion, CTRL-C works with target-async && non-stop.
> It didn't work in my testing because I didn't know about
> "set target-async on"
I was incorrect, not that CTRL-C would not be useful during target-async but
that one probably should use `(gdb) interrupt [-a]' to benefit from the
target-async mode at all.
info '(gdb)Background Execution'
Regards,
Jan