This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] Make QUIT work


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


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