Remove gdb workaround from readline/xfree.c
authorTom Tromey <tom@tromey.com>
Sun, 7 Oct 2018 21:29:57 +0000 (15:29 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 12 Aug 2019 16:57:56 +0000 (10:57 -0600)
commitc15a79c78cc0111296b487de3fa59365f13df3bc
tree1df2d8f7c1429c9bcf70f1e006649daec73dd399
parenta2d4e4b70945c1704e5249ad6a9be9d5875a4b0e
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.
readline/ChangeLog.gdb
readline/Makefile.in
readline/xfree.c
readline/xmalloc.h