From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B8AE3386191F; Wed, 7 Oct 2020 09:47:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B8AE3386191F From: "schwab@linux-m68k.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/26712] New: Testsuite mishandles libreadline 8.1 Date: Wed, 07 Oct 2020 09:47:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2020 09:47:27 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26712 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, w= hich 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 } --=20 You are receiving this mail because: You are on the CC list for the bug.=