From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AAE2E3858D33; Fri, 7 Apr 2023 09:10:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AAE2E3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1680858604; bh=I4hY5YZ7Ly5vSa3MzHNF48bZe6dgAF4zDOHMAWQ2YC4=; h=From:To:Subject:Date:From; b=QKilchC/yKN2so7eG9Kl2r4VZkv4RK0KH+fxYJ79OsX7NZOevTRjLAYcDdz7XC+G8 ANbT0EFUmVirtbc0G0pcc1ifCSUnowSFaELwWX6iQrhRbmXTREikwlbIX7CpGC0x/D zh/HNnpk5zgXL/0OM1VRpXIiopFVq7GKUgaYyyqs= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tui/30325] New: [gdb/tui] Stray '[' before insn adddress Date: Fri, 07 Apr 2023 09:10:04 +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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30325 Bug ID: 30325 Summary: [gdb/tui] Stray '[' before insn adddress 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 tui_asm_window_width= set to 60, I get: ... Box Dump (60 x 15) @ (0, 0): 0 +----------------------------------------------------------+ 1 | 0x4004a7
push %rbp | 2 | 0x4004a8 mov %rsp,%rbp | 3 | 0x4004ab mov $0x0,%eax | 4 | 0x4004b0 pop %rbp | 5 | 0x4004b1 ret | 6 | 0x4004b2 cs nopw 0x0(%rax,%rax,1) | 7 | [0x4004bc nopl 0x0(%rax) | 8 | 0x4004c0 nop | 9 | 0x4004c1 nop | 10 | 0x4004c2 nop | 11 | 0x4004c3 nop | 12 | 0x4004c4 nop | 13 | 0x4004c5 nop | 14 +----------------------------------------------------------+ ... There seems to be a stray '[' at line 7. I reproduced it on an actual terminal, after setting cols/rows to 24/60: ... $ ( export TERM=3Dansi; gdb tui-layout-asm -ex "maint set tui-resize-messag= e on" -ex "set tui border-kind ascii" -ex "tui enable" -ex "layout asm" ) ... and got: ... +----------------------------------------------------------+ | 0x4004a7
push %rbp | | 0x4004a8 mov %rsp,%rbp | | 0x4004ab mov $0x0,%eax | | 0x4004b0 pop %rbp | | 0x4004b1 ret | | 0x4004b2 cs nopw 0x0(%rax,%rax,1) | | [0x4004bc nopl 0x0(%rax) | | 0x4004c0 nop | | 0x4004c1 nop | | 0x4004c2 nop | | 0x4004c3 nop | | 0x4004c4 nop | | 0x4004c5 nop | +----------------------------------------------------------+ ... So, this isn't related to the tuienv terminal emulator. --=20 You are receiving this mail because: You are on the CC list for the bug.=