[Bug tui/30325] [gdb/tui] Stray '[' before insn adddress

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri Apr 7 09:13:59 GMT 2023


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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #0)
> 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 <main>         push   %rbp                   |
>     2 |    0x4004a8 <main+1>       mov    %rsp,%rbp              |
>     3 |    0x4004ab <main+4>       mov    $0x0,%eax              |
>     4 |    0x4004b0 <main+9>       pop    %rbp                   |
>     5 |    0x4004b1 <main+10>      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 +----------------------------------------------------------+
> ...
> 

In contrast, with tui_asm_window_width == 65:
...
    0 +---------------------------------------------------------------+
    1 |    0x4004a7 <main>         push   %rbp                        |
    2 |    0x4004a8 <main+1>       mov    %rsp,%rbp                   |
    3 |    0x4004ab <main+4>       mov    $0x0,%eax                   |
    4 |    0x4004b0 <main+9>       pop    %rbp                        |
    5 |    0x4004b1 <main+10>      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 +---------------------------------------------------------------+
...

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


More information about the Gdb-prs mailing list