diff options
author | Tom Tromey <tom@tromey.com> | 2018-10-07 15:29:57 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-12 10:57:56 -0600 |
commit | c15a79c78cc0111296b487de3fa59365f13df3bc (patch) | |
tree | 1df2d8f7c1429c9bcf70f1e006649daec73dd399 /readline/xmalloc.h | |
parent | a2d4e4b70945c1704e5249ad6a9be9d5875a4b0e (diff) | |
download | gdb-c15a79c78cc0111296b487de3fa59365f13df3bc.zip gdb-c15a79c78cc0111296b487de3fa59365f13df3bc.tar.gz gdb-c15a79c78cc0111296b487de3fa59365f13df3bc.tar.bz2 |
Remove gdb workaround from readline/xfree.c
There is a gdb-local patch to deal with interrupts during completion.
The original thread adding this patch is here:
https://sourceware.org/ml/gdb-patches/2011-06/msg00147.html
I believe readline now implements the approach suggested by
Chet Ramey:
https://sourceware.org/ml/gdb-patches/2011-06/msg00493.html
So, I believe this patch can be removed.
readline/ChangeLog.gdb
2018-10-07 Tom Tromey <tom@tromey.com>
* Makefile.in (xfree.o): Don't depend on readline.h.
* xfree.c (xfree): Remove gdb workaround.
* xmalloc.h (xfree): Remove #define.
Diffstat (limited to 'readline/xmalloc.h')
-rw-r--r-- | readline/xmalloc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/readline/xmalloc.h b/readline/xmalloc.h index 0fb6a19..f40d7a5 100644 --- a/readline/xmalloc.h +++ b/readline/xmalloc.h @@ -38,9 +38,6 @@ #endif /* !PTR_T */ -/* xmalloc and xrealloc should be also protected from RL_STATE_SIGHANDLER. */ -#define xfree xfree_readline - extern PTR_T xmalloc PARAMS((size_t)); extern PTR_T xrealloc PARAMS((void *, size_t)); extern void xfree PARAMS((void *)); |