public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/29706] New: [gdb, readline 8.2] FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof (missed the prompt)
@ 2022-10-20  8:50 vries at gcc dot gnu.org
  2022-10-20  8:50 ` [Bug testsuite/29706] " vries at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2022-10-20  8:50 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 29706
           Summary: [gdb, readline 8.2] FAIL: gdb.base/eof-exit.exp: with
                    non-dump terminal: with bracketed-paste-mode on: close
                    GDB with eof (missed the prompt)
           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: ---

On openSUSE Tumbleweed with libreadline 8.2, and building gdb with
--with-system-readline, and with test-case gdb.base/eof-exit.exp I run into:
...
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) dir^M
^[[?2004l^M^[[?2004hReinitialize source path to empty? (y or n) y^M
^[[?2004l^MSource directories searched: $cdir:$cwd^M
^[[?2004h(gdb) dir /data/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base^M
^[[?2004l^MSource directories searched:
/data/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd^M
^[[?2004h(gdb) ^M
^[[?2004l^M^[[?2004h(gdb) ^[[?2004l^M^M
^M
quit^M
FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode
on: close GDB with eof (missed the prompt)
...

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

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

* [Bug testsuite/29706] [gdb, readline 8.2] FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof (missed the prompt)
  2022-10-20  8:50 [Bug testsuite/29706] New: [gdb, readline 8.2] FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof (missed the prompt) vries at gcc dot gnu.org
@ 2022-10-20  8:50 ` vries at gcc dot gnu.org
  2022-10-20  9:23 ` vries at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2022-10-20  8:50 UTC (permalink / raw)
  To: gdb-prs

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

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aburgess at redhat dot com

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

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

* [Bug testsuite/29706] [gdb, readline 8.2] FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof (missed the prompt)
  2022-10-20  8:50 [Bug testsuite/29706] New: [gdb, readline 8.2] FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof (missed the prompt) vries at gcc dot gnu.org
  2022-10-20  8:50 ` [Bug testsuite/29706] " vries at gcc dot gnu.org
@ 2022-10-20  9:23 ` vries at gcc dot gnu.org
  2022-10-20  9:25 ` vries at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2022-10-20  9:23 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
There's a KFAIL in the test-case, but that one triggers on f.i. output like
this:
...
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) set build-id-verbose 0^M
^[[?2004l^M^[[?2004h(gdb) dir^M
^[[?2004l^M^[[?2004hReinitialize source path to empty? (y or n) y^M
^[[?2004l^MSource directories searched: $cdir:$cwd^M
^[[?2004h(gdb) dir
/home/abuild/rpmbuild/BUILD/gdb-12.1/gdb/testsuite/gdb.base^M
^[[?2004l^MSource directories searched:
/home/abuild/rpmbuild/BUILD/gdb-12.1/gdb/testsuite/gdb.base:$cdir:$cwd^M
^[[?2004h(gdb) ^M
^[[?2004l^M^[[?2004h(gdb) ^[[?2004l^M^M
quit^M
KFAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode
on: close GDB with eof (older version of readline) (PRMS: gdb/28833)
...

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

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

* [Bug testsuite/29706] [gdb, readline 8.2] FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof (missed the prompt)
  2022-10-20  8:50 [Bug testsuite/29706] New: [gdb, readline 8.2] FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof (missed the prompt) vries at gcc dot gnu.org
  2022-10-20  8:50 ` [Bug testsuite/29706] " vries at gcc dot gnu.org
  2022-10-20  9:23 ` vries at gcc dot gnu.org
@ 2022-10-20  9:25 ` vries at gcc dot gnu.org
  2022-10-24  8:00 ` vries at gcc dot gnu.org
  2022-10-26 16:24 ` aburgess at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2022-10-20  9:25 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
And a pass looks like this:
...
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) dir^M
^[[?2004l^M^[[?2004hReinitialize source path to empty? (y or n) y^M
^[[?2004l^MSource directories searched: $cdir:$cwd^M
^[[?2004h(gdb) dir /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base^M
^[[?2004l^MSource directories searched:
/home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base:$cdir:$cwd^M
^[[?2004h(gdb) ^M
^[[?2004l^M^[[?2004h(gdb) quit^M
^[[?2004l^MPASS: gdb.base/eof-exit.exp: with non-dump terminal: with
bracketed-paste-mode on: close GDB with eof
...

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

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

* [Bug testsuite/29706] [gdb, readline 8.2] FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof (missed the prompt)
  2022-10-20  8:50 [Bug testsuite/29706] New: [gdb, readline 8.2] FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof (missed the prompt) vries at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-10-20  9:25 ` vries at gcc dot gnu.org
@ 2022-10-24  8:00 ` vries at gcc dot gnu.org
  2022-10-26 16:24 ` aburgess at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2022-10-24  8:00 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
Hmm, I've lost the ability to reproduce this.

I've build all commits in the range
58fd1204aa0f66dd2df30f673c9441e0265b8515..49c843e6d2d0577200e7c1d2d02855f21a3a9dde
and didn't manage to reproduce.

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

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

* [Bug testsuite/29706] [gdb, readline 8.2] FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof (missed the prompt)
  2022-10-20  8:50 [Bug testsuite/29706] New: [gdb, readline 8.2] FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof (missed the prompt) vries at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-10-24  8:00 ` vries at gcc dot gnu.org
@ 2022-10-26 16:24 ` aburgess at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: aburgess at redhat dot com @ 2022-10-26 16:24 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #4 from Andrew Burgess <aburgess at redhat dot com> ---
I've also tried to reproduce this without success.  I did wonder if it was
possible that an update to libreadline might trigger this behaviour, with GDB
built against readline 8.1, then an update to readline 8.2 being performed
without rebuilding GDB.

It was in the 8.1 -> 8.2 readline update that the bugs related to how the
'quit' is printed were fixed.

That said, I don't have a solid story for what might be triggering the weird
behaviour - the readline update is just an idea.  I have an opensuse VM, but I
can't figure out how to downgrade readline to 8.1 in order to test the
theory...

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

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

end of thread, other threads:[~2022-10-26 16:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-20  8:50 [Bug testsuite/29706] New: [gdb, readline 8.2] FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof (missed the prompt) vries at gcc dot gnu.org
2022-10-20  8:50 ` [Bug testsuite/29706] " vries at gcc dot gnu.org
2022-10-20  9:23 ` vries at gcc dot gnu.org
2022-10-20  9:25 ` vries at gcc dot gnu.org
2022-10-24  8:00 ` vries at gcc dot gnu.org
2022-10-26 16:24 ` aburgess at redhat dot com

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