From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz To: Michael Snyder Cc: Andrew Cagney , gdb-patches@sources.redhat.com, Elena Zannoni Subject: Re: [RFA] Make QUIT work Date: Tue, 11 May 2004 02:19:00 -0000 Message-id: <20040511021947.GA2279@nevyn.them.org> References: <409C5394.3070208@redhat.com> <20040508045116.GA5860@nevyn.them.org> <40A0284C.7040502@gnu.org> <40A02E90.9040301@redhat.com> X-SW-Source: 2004-05/msg00322.html On Tue, May 11, 2004 at 01:38:24AM +0000, Michael Snyder wrote: > Andrew Cagney wrote: > >>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. > > I don't agree. If gdb hangs and you can't quit by typing ^C, > that's a bug. In fact, I've gotten multiple bug reports about it. -- Daniel Jacobowitz