From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5BA7A38708C2; Thu, 19 Nov 2020 16:34:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5BA7A38708C2 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tui/26922] New: FAIL: gdb.tui/tui-layout-asm.exp: scroll to end of assembler (scroll failed) Date: Thu, 19 Nov 2020 16:34:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tui 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 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: Thu, 19 Nov 2020 16:34:10 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26922 Bug ID: 26922 Summary: FAIL: gdb.tui/tui-layout-asm.exp: scroll to end of assembler (scroll failed) Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: tui Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- When running test-case gdb.tui/tui-layout-asm.exp with target board unix/-fPIE/-pie we run into: ... FAIL: gdb.tui/tui-layout-asm.exp: scroll to end of assembler (scroll failed) ... Using some printf debugging: ... index 96fb043321f..20863a6a81b 100644 --- a/gdb/testsuite/gdb.tui/tui-layout-asm.exp +++ b/gdb/testsuite/gdb.tui/tui-layout-asm.exp @@ -61,7 +61,12 @@ while (1) { if {[Term::wait_for [string_to_regexp $line]] \ && [Term::get_line 1] =3D=3D $line} { # We scrolled successfully. + pass "$testname (scroll cnt: $down_count)" + Term::dump_screen } else { + verbose -log "\n" + verbose -log "wait_for : '$line'" + verbose -log "first line: '[Term::get_line 1]'" fail "$testname (scroll failed)" Term::dump_screen break ... we can see what goes wrong. We get: ... wait_for : '| 0x6b5 data16 cs nopw 0x0(%rax,%rax,1) |\ ' first line: '| 0x6b5 data16 cs nopw 0x0(%rax,%rax,= 1)=20=20 |\ ' ... So, AFAIU this is about indentation. TUI's behaviour doesn't look wrong to me, so I guess it's a question of updating the test-case. --=20 You are receiving this mail because: You are on the CC list for the bug.=