This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/readline ChangeLog.gdb Makefile.in xmalloc ...
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 29 Jun 2011 21:46:43 -0000
- Subject: src/readline ChangeLog.gdb Makefile.in xmalloc ...
CVSROOT: /cvs/src
Module name: src
Branch: gdb_7_3-branch
Changes by: jkratoch@sourceware.org 2011-06-29 21:46:43
Modified files:
readline : ChangeLog.gdb Makefile.in xmalloc.c xmalloc.h
Log message:
readline/
Avoid free from a signal handler.
* Makefile.in (xmalloc.o): Add readline.h.
* xmalloc.c: Include readline.h.
(xmalloc, xrealloc): Disable them by #if 0.
(xfree): Return on RL_STATE_SIGHANDLER, #undef free.
* xmalloc.h (xfree, free): New definition.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/readline/ChangeLog.gdb.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.38&r2=1.38.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/readline/Makefile.in.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.11&r2=1.11.8.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/readline/xmalloc.c.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.5&r2=1.5.40.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/readline/xmalloc.h.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.4&r2=1.4.40.1