mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
4fb7bc4b14
This commit is a partial back-port of this upstream readline commit: commit 002d31aa5f5929eb32d0e0e2e8b8d35d99e59961 Author: Chet Ramey <chet.ramey@case.edu> Date: Thu Mar 3 11:11:47 2022 -0500 add rl_eof_found to public API; fix pointer aliasing problems \ with history-search-backward; fix a display problem with \ runs of invisible characters at the end of a physical \ screen line I have only pulled in the parts of this commit that relate to the new rl_eof_found global, and the RL_STATE_EOF state flag. These changes are needed in order to fix PR cli/28833, and are discussed in this thread to the bug-readline mailing list: https://lists.gnu.org/archive/html/bug-readline/2022-02/msg00021.html The above commit is not yet in any official readline release, but my hope is that now it has been merged into the readline tree it should be safe enough to back port this fix to GDB's tree. At some point in the future we will inevitably want to roll forward the version of readline that we maintain in the binutils-gdb repository. When that day comes the changes in this commit can be replaced with the latest upstream readline code, as I have not changed the meaning of this code at all from what is in upstream readline. This commit alone does not fix the PR cli/28833 issue, for that see the next commit, which changes GDB itself. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28833 |
||
---|---|---|
.. | ||
readline | ||
.gitignore | ||
aclocal.m4 | ||
ChangeLog | ||
configure | ||
configure.ac | ||
Makefile.am | ||
Makefile.in | ||
README |
This is an import of readline that is used by gdb. To send patches, follow the gdb patch submission instructions in ../gdb/CONTRIBUTE. For maintainers, see ../gdb/MAINTAINERS. If you need to patch readline, please document the changes here. To import, copy the upstream readline sources into the "readline" subdirectory, remembering to (1) remove any files that were deleted upstream, and (2) merge the one small configure.ac patch that gdb carries. If your import removes the need for a local patch, please remember to update this file. Individual upstream readline patches can be directly imported using "git am". You can see the current patch level by looking at readline/patchlevel.