[RFC] Patch for QUIT macro support

Daniel Jacobowitz drow@false.org
Thu Feb 8 14:34:00 GMT 2007


On Mon, Jan 22, 2007 at 07:40:52AM -0700, Fred Fish wrote:
> On Sunday 15 October 2006 11:00, Mark Kettenis wrote:
> > We really should not put history in our comments.
> 
> Good point.  Here is a patch with updated comments.
> 
> It would be good if someone could independently review, test, and
> approve this, particularly anyone using an interface other than the
> normal command line one.

> 2007-01-22  Fred Fish  <fnf@specifix.com>
> 
> 	* event-top.c (handle_sigint): Set quit_flag.
> 	(async_request_quit): Don't set quit_flag.  Avoid calling quit()
> 	if quit_flag has already been reset.

Well, I independently reviewed it - I think this is correct.  I
can't readily test it with any other interface at the moment, but I
think you should commit this.  We'll have a while to catch any problems
if there's something we didn't think of.


-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list