public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/26712] New: Testsuite mishandles libreadline 8.1
@ 2020-10-07  9:47 schwab@linux-m68k.org
  0 siblings, 0 replies; only message in thread
From: schwab@linux-m68k.org @ 2020-10-07  9:47 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26712

            Bug ID: 26712
           Summary: Testsuite mishandles libreadline 8.1
           Product: gdb
           Version: 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: unassigned at sourceware dot org
          Reporter: schwab@linux-m68k.org
  Target Milestone: ---

The upcoming libreadline 8.1 has bracketed paste mode enabled by default, which
means that it emits "\e[?2004h" before the prompt.  That totally breaks the
testsuite, because default_gdb_start expects $gdb_prompt to be preceded by
newline:

        -re "\[\r\n\]$gdb_prompt $" {
            verbose "GDB initialized."
        }

Instead the testsuite thinks that gdb never initialized:

        -re "$gdb_prompt $"     {
            perror "GDB never initialized."
            unset gdb_spawn_id
            return -1
        }

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-07  9:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-07  9:47 [Bug testsuite/26712] New: Testsuite mishandles libreadline 8.1 schwab@linux-m68k.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).