This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tui/21737] New: TUI becomes garbled when GDB is not waiting for input but receives a newline while cursor is at the bottom


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

            Bug ID: 21737
           Summary: TUI becomes garbled when GDB is not waiting for input
                    but receives a newline while cursor is at the bottom
           Product: gdb
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tui
          Assignee: unassigned at sourceware dot org
          Reporter: b7.10110111 at gmail dot com
  Target Milestone: ---

To reproduce:

1. Launch GDB as:

gdb -tui /bin/sleep -ex 'layout asm' -ex 'catch syscall nanosleep' -ex 'r 5'
-ex 'set pagination off' -ex 'info all-reg'

2. When the inferior stops, type "ni" followed by two or more <Return> presses
3. Notice how the console contents moved up as you pressed <Return> the second
time
4. Now after 5 seconds, when the inferior stops, the screen is partially
updated, leaving no longer valid contents in multiple places: the old (scrolled
up) highlighted current line in the disassembly window, the disassembly
(partially correct, partially scrolled), PC value in the bottom-right corner of
the disassembly window (its updated lowest digits are under the old "status
bar"), ...

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]