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/17476] New: The TUI interface interacts poorly with program output


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

            Bug ID: 17476
           Summary: The TUI interface interacts poorly with program output
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tui
          Assignee: unassigned at sourceware dot org
          Reporter: netheril96 at gmail dot com

Created attachment 7825
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7825&action=edit
A screenshot of how the tui mode gets scrambled

Whenever the program being debugged by gdb in tui mode produces any output, on
stdout or stderr, the tui gets mangled.

To reproduce the result, compile and debug this file in tui mode

```c
#include <unistd.h>
#include <stdio.h>

int main()
{
    for (;;)
    {
        sleep(1);
        fputs("hello, world\n", stdout);
    }
}
```

-- 
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]