[readline patch, gdb-7.3?] Avoid free from a signal handler [Re: [PATCH] Make interrupting tab-completion safe.]

Joel Brobecker brobecker@adacore.com
Mon Jun 27 16:03:00 GMT 2011


> readline/
> 2011-06-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	Avoid free from a signal handler.
> 	* Makefile.in (xfree.o): Add readline.h.
> 	* xfree.c: Include stdio.h and readline.h.
> 	(xfree): Return on RL_STATE_SIGHANDLER.
> 	* xmalloc.h (xfree): New definition.

Interesting. OK for gdb-7.3 if OK for readline...

-- 
Joel



More information about the Gdb-patches mailing list