[0/2] Fis for readline eof and secondary prompt issue

Message ID cover.1730303479.git.aburgess@redhat.com
Headers
Series Fis for readline eof and secondary prompt issue |

Message

Andrew Burgess Oct. 30, 2024, 3:53 p.m. UTC
  In a review for another patch on the mailing list, Keith pointed out a
readline issue that was causing weird extra blank lines.  This turned
out to have nothing to do with my patch, but is a general readline
issue.

This commit proposes a work around.  Separately I have posted a patch
for readline to address this issue.

Thanks,
Andrew

---

Andrew Burgess (2):
  gdb/readline: new 'maint info readline' command
  gdb/readline: don't get stuck thinking an EOF arrived

 gdb/NEWS                                      |   3 +
 gdb/doc/gdb.texinfo                           |  16 +++
 gdb/event-top.c                               |  44 ++++++
 gdb/testsuite/gdb.base/maint.exp              |   3 +
 .../gdb.base/readline-commands-eof.c          |  22 +++
 .../gdb.base/readline-commands-eof.exp        | 128 ++++++++++++++++++
 gdb/testsuite/lib/gdb.exp                     |  28 ++++
 7 files changed, 244 insertions(+)
 create mode 100644 gdb/testsuite/gdb.base/readline-commands-eof.c
 create mode 100644 gdb/testsuite/gdb.base/readline-commands-eof.exp


base-commit: a723c56efb07c4f8b3f6a3ed4b878a2f8f5572cc