[RFA] Make QUIT work

Andrew Cagney cagney@gnu.org
Tue May 11 01:11:00 GMT 2004


On Sat, May 08, 2004 at 03:27:16AM +0000, Michael Snyder wrote:

Elena, here's something that must have fallen thru the cracks
at some point.  handle_sigint needs to set quit_flag -- or else
QUIT won't quit.  As is currently, QUIT won't work unles
immediate_quit is set -- and I'm pretty sure that's not how
it was intended to work.


See the patch Joel submitted for this last August.  Elena deferred it
to after 6.1 because just setting quit_flag invokes both sets of event
handling machinery, potentially quitting twice.
http://sources.redhat.com/ml/gdb-patches/2004-02/msg00530.html

given quit_flag hasn't worked for 4+ years, we might as well delete 
that.  At least that way there won't be confusion over what needs to be 
fixed.

Andrew





More information about the Gdb-patches mailing list