mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
4a11f20659
This patch syncs our upstream copy of readline from version 6.2 to the latest version, 7.0 alpha (released July 10 2015). I essentially copied what was done the last time readline was synced, when Jan updated to readline 6.2 in 2011: http://sourceware.org/ml/gdb-patches/2011-05/msg00003.html Procedure: 1. I extracted the readline-7.0-alpha tarball on top of readline/. 2. I deleted all the new files under doc/ that were deliberately omitted before. 3. I regenerated readline/configure and readline/examples/rlfe/configure using autoconf 2.64. No other configure files need regenerating. 4. I updated the function gdb_printable_part in completer.c with a trivial change made to the readline function it is based off of, printable_part in readline/complete.c. There is more work to be done in completer.c to sync it with readline/complete.c, but it is non-trivial and should probably be done separately anyway. Local patches that had to be reapplied: None. readline 7.0 alpha contains all of our local readline patches. New files in readline/: colors.{c,h} examples/{hist_erasedups,hist_purgecmd,rl-callbacktest,rlbasic}.c parse-colors.{c,h} readline.pc.in configure.ac Deleted files in readline/: configure.in Regressions: After the sync there is one testsuite regression, the test "signal SIGINT" in gdb.gdb/selftest.exp which now FAILs. Previously, the readline 6.2 SIGINT handler would temporarily reinstall the underlying application's SIGINT handler and immediately re-raise SIGINT so that the orginal handler gets invoked. But now (since readline 6.3) its SIGINT handler does not re-raise SIGINT or directly invoke the original handler; it now sets a flag marking that SIGINT was raised, and waits until readline explicitly has control to call the application's SIGINT handler. Anyway, because SIGINT is no longer re-raised from within readline's SIGINT handler, doing "signal SIGINT" with a stopped inferior gdb process will no longer resume and then immediately stop the process (since there is no 2nd SIGINT to immediately catch). Instead, the inferior gdb process will now just print "Quit" and continue to run. So with this commit, this particular test case is adjusted to reflect this change in behavior (we now have to send a 2nd SIGINT manually to stop it). Aside from this one testsuite regression, I personally noticed no regression in user-visible behavior. Though I only tested on x86_64 and on i686 Debian Stretch. Getting this kind of change in at the start of the GDB 7.11 development cycle will allow us to get a lot of passive testing from developers and from bleeding-edge users. readline/ChangeLog.gdb: Import readline 7.0 alpha * configure: Regenerate. * examples/rlfe/configure: Regenerate. gdb/ChangeLog: * completer.c (gdb_printable_part): Sync with readline function it is based off of. gdb/testsuite/ChangeLog: * gdb.gdb/selftest.exp (test_with_self): Update test to now expect the GDB inferior to no longer immediately stop after being resumed with "signal SIGINT".
165 lines
2.8 KiB
Plaintext
165 lines
2.8 KiB
Plaintext
#
|
|
# Master distribution manifest for the standalone readline distribution
|
|
#
|
|
doc d
|
|
examples d
|
|
examples/autoconf d
|
|
examples/rlfe d
|
|
support d
|
|
shlib d
|
|
COPYING f
|
|
README f
|
|
MANIFEST f
|
|
INSTALL f
|
|
CHANGELOG f
|
|
CHANGES f
|
|
NEWS f
|
|
USAGE f
|
|
aclocal.m4 f
|
|
config.h.in f
|
|
configure f
|
|
configure.ac f
|
|
Makefile.in f
|
|
readline.pc.in f
|
|
ansi_stdlib.h f
|
|
chardefs.h f
|
|
colors.h f
|
|
history.h f
|
|
histlib.h f
|
|
keymaps.h f
|
|
parse-colors.h f
|
|
posixdir.h f
|
|
posixjmp.h f
|
|
posixselect.h f
|
|
posixstat.h f
|
|
readline.h f
|
|
rlconf.h f
|
|
rldefs.h f
|
|
rlmbutil.h f
|
|
rlprivate.h f
|
|
rlshell.h f
|
|
rlstdc.h f
|
|
rltty.h f
|
|
rltypedefs.h f
|
|
rlwinsize.h f
|
|
tcap.h f
|
|
tilde.h f
|
|
xmalloc.h f
|
|
bind.c f
|
|
callback.c f
|
|
colors.c f
|
|
compat.c f
|
|
complete.c f
|
|
display.c f
|
|
emacs_keymap.c f
|
|
funmap.c f
|
|
input.c f
|
|
isearch.c f
|
|
keymaps.c f
|
|
kill.c f
|
|
macro.c f
|
|
mbutil.c f
|
|
misc.c f
|
|
nls.c f
|
|
parens.c f
|
|
parse-colors.c f
|
|
readline.c f
|
|
rltty.c f
|
|
savestring.c f
|
|
search.c f
|
|
shell.c f
|
|
signals.c f
|
|
terminal.c f
|
|
text.c f
|
|
tilde.c f
|
|
undo.c f
|
|
util.c f
|
|
vi_keymap.c f
|
|
vi_mode.c f
|
|
xfree.c f
|
|
xmalloc.c f
|
|
history.c f
|
|
histexpand.c f
|
|
histfile.c f
|
|
histsearch.c f
|
|
patchlevel f
|
|
shlib/Makefile.in f
|
|
support/config.guess f
|
|
support/config.rpath f
|
|
support/config.sub f
|
|
support/install.sh f
|
|
support/mkdirs f
|
|
support/mkdist f
|
|
support/mkinstalldirs f
|
|
support/shobj-conf f
|
|
support/shlib-install f
|
|
support/wcwidth.c f
|
|
doc/Makefile.in f
|
|
doc/texinfo.tex f
|
|
doc/version.texi f
|
|
doc/fdl.texi f
|
|
doc/rlman.texi f
|
|
doc/rltech.texi f
|
|
doc/rluser.texi f
|
|
doc/rluserman.texi f
|
|
doc/history.texi f
|
|
doc/hstech.texi f
|
|
doc/hsuser.texi f
|
|
doc/readline.3 f
|
|
doc/history.3 f
|
|
doc/texi2dvi f
|
|
doc/texi2html f
|
|
examples/Makefile.in f
|
|
examples/excallback.c f
|
|
examples/fileman.c f
|
|
examples/manexamp.c f
|
|
examples/readlinebuf.h f
|
|
examples/rl-fgets.c f
|
|
examples/rlbasic.c f
|
|
examples/rlcat.c f
|
|
examples/rlevent.c f
|
|
examples/rltest.c f
|
|
examples/rl-callbacktest.c f
|
|
examples/rl.c f
|
|
examples/rlptytest.c f
|
|
examples/rlversion.c f
|
|
examples/histexamp.c f
|
|
examples/hist_erasedups.c f
|
|
examples/hist_purgecmd.c f
|
|
examples/Inputrc f
|
|
examples/autoconf/BASH_CHECK_LIB_TERMCAP f
|
|
examples/autoconf/RL_LIB_READLINE_VERSION f
|
|
examples/autoconf/wi_LIB_READLINE f
|
|
examples/rlfe/ChangeLog f
|
|
examples/rlfe/Makefile.in f
|
|
examples/rlfe/README f
|
|
examples/rlfe/config.h.in f
|
|
examples/rlfe/configure f
|
|
examples/rlfe/configure.in f
|
|
examples/rlfe/extern.h f
|
|
examples/rlfe/os.h f
|
|
examples/rlfe/pty.c f
|
|
examples/rlfe/rlfe.c f
|
|
examples/rlfe/screen.h f
|
|
examples/rlwrap-0.30.tar.gz f
|
|
# formatted documentation, from MANIFEST.doc
|
|
doc/readline.ps f
|
|
doc/history.ps f
|
|
doc/rluserman.ps f
|
|
doc/readline.dvi f
|
|
doc/history.dvi f
|
|
doc/rluserman.dvi f
|
|
doc/readline.info f
|
|
doc/history.info f
|
|
doc/rluserman.info f
|
|
doc/readline.html f
|
|
doc/history.html f
|
|
doc/rluserman.html f
|
|
doc/readline.0 f
|
|
doc/history.0 f
|
|
doc/readline_3.ps f
|
|
doc/history_3.ps f
|
|
doc/history.pdf f
|
|
doc/readline.pdf f
|
|
doc/rluserman.pdf f
|