From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7A980382F995; Fri, 7 Oct 2022 08:20:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A980382F995 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665130826; bh=a29bCK0W5dNYvKtqdft5QtIqZdcibpDdz7vDlN2nYDg=; h=From:To:Subject:Date:From; b=FTM451dh01RugbVzey6PdmeLvlioVFv78KdETpvISpjQyNDQvdLu/oM5l3FDYD7M/ Ig4Ne120Avi/aE/lo9nooPUQs0+BWJvtSDYj4Gp8cex52GOZLzxXRi1kk77PXG52Li EtgEDmVgGCeTTBrUZdyoSS/yHt+vp7WVvc/fCpC0= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/29659] New: [gdb/testsuite] local-remote-host timeouts with bracketed-paste Date: Fri, 07 Oct 2022 08:20:25 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29659 Bug ID: 29659 Summary: [gdb/testsuite] local-remote-host timeouts with bracketed-paste Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: testsuite Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- [ Note: not building with system-readline, so picking up the readline versi= on in the sources. ] [ Note: There are some problems with the mentioned host boards and/or test-case, so it may be necessary to first run the test-case with native to generate some files that will be otherwise not found, and it may be necessa= ry to do git ch -f to recreate $src/gdb/testsuite/gdb.xml/trivial.xml if runni= ng the test deleted this file. ] With test-case gdb.server/connect-with-no-symbol-file.exp and host board local-remote-host-notty, I have: ... Type "apropos word" to search for commands related to "word".^M (gdb) set height 0^M (gdb) set width 0^M (gdb) disconnect^M You can't do that when your target is `None'^M ... but with host board local-remote-host instead I have: ... Type "apropos word" to search for commands related to "word".^M ^[[?2004h(gdb) set height 0^M ^[[?2004l^M^[[?2004h(gdb) set width 0^M ^[[?2004l^M^[[?2004h(gdb) disconnect^M ^[[?2004l^MYou can't do that when your target is `None'^M ^[[?2004h(gdb) FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=3D: action=3Dpermission: setup: disconnect (timeout) ... I found that the control sequences ^[[?2004h and ^[[?2004l are related to bracketed paste mode. After doing a rebuild with the commit before the readline 8.1 import (which sets the bracketed-paste mode on by default) and applying commit 8d08cccb014 ("Avoid having to unload file in gdb.server/connect-with-no-symbol-file.exp= ") to have the same test-case, I have instead: ... Type "apropos word" to search for commands related to "word".^M (gdb) set height 0^M (gdb) set width 0^M (gdb) disconnect^M You can't do that when your target is `None'^M (gdb) PASS: gdb.server/connect-with-no-symbol-file.exp: sysroot=3D: action=3Dpermission: setup: disconnect ... --=20 You are receiving this mail because: You are on the CC list for the bug.=