This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] bpstat_do_actions in one place
> Date: Wed, 7 May 2008 15:50:24 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: vladimir@codesourcery.com, gdb-patches@sources.redhat.com
>
> > > If that happened, how would you stop the example I gave?
> >
> > How would one stop _any_ endless loop? Ctrl-C, I guess.
>
> But it won't work. C-c is implemented as the exact same thing as
> typing q at a pagination prompt: eventually a quit exception is
> thrown. So you will only stop the currently printing backtrace and
> things will keep on going.
<Shrug> Another bug, I guess. We should be throwing to top level.
And no, I don't think `q' should do the same as Ctrl-C.