public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/29659] New: [gdb/testsuite] local-remote-host timeouts with bracketed-paste
@ 2022-10-07  8:20 vries at gcc dot gnu.org
  2022-10-07  8:22 ` [Bug testsuite/29659] " vries at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: vries at gcc dot gnu.org @ 2022-10-07  8:20 UTC (permalink / raw)
  To: gdb-prs

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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-10-17 13:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-07  8:20 [Bug testsuite/29659] New: [gdb/testsuite] local-remote-host timeouts with bracketed-paste vries at gcc dot gnu.org
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

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).