public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.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	[thread overview]
Message-ID: <bug-29659-4717@http.sourceware.org/bugzilla/> (raw)

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

            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 version
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 necessary
to do git ch -f to recreate $src/gdb/testsuite/gdb.xml/trivial.xml if running
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=:
action=permission: 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=:
action=permission: setup: disconnect
...

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

             reply	other threads:[~2022-10-07  8:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-07  8:20 vries at gcc dot gnu.org [this message]
2022-10-07  8:22 ` [Bug testsuite/29659] " vries at gcc dot gnu.org
2022-10-07  8:35 ` vries at gcc dot gnu.org
2022-10-07 10:06 ` vries at gcc dot gnu.org
2022-10-07 10:09 ` vries at gcc dot gnu.org
2022-10-08 17:23 ` tromey at sourceware dot org
2022-10-09  8:56 ` vries at gcc dot gnu.org
2022-10-10 16:13 ` tromey at sourceware dot org
2022-10-12  4:04 ` vries at gcc dot gnu.org
2022-10-17 13:02 ` vries at gcc dot gnu.org
2022-10-17 13:05 ` vries at gcc dot gnu.org
2022-10-17 13:06 ` vries at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-29659-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).