public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tui/30502] New: [gdb/tui] output window
@ 2023-05-31 23:35 vries at gcc dot gnu.org
2023-06-01 9:43 ` [Bug tui/30502] " aburgess at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2023-05-31 23:35 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30502
Bug ID: 30502
Summary: [gdb/tui] output window
Product: gdb
Version: HEAD
Status: NEW
Severity: enhancement
Priority: P2
Component: tui
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
Created attachment 14910
--> https://sourceware.org/bugzilla/attachment.cgi?id=14910&action=edit
WIP patch
I've written a WIP patch on top of
https://sourceware.org/pipermail/gdb-patches/2023-May/199917.html .
The rough idea is as follows. We add an output window, so we have:
...
┌─hello.c───────────────────────────────────────────────────┐
│ 12 printf ("hello10\n"); │
│ > 13 printf ("hello11\n"); │
│ 14 printf ("hello12\n"); │
│ 15 printf ("hello13\n"); │
│ 16 printf ("hello14\n"); │
└───────────────────────────────────────────────────────────┘
native process 877 In: main L13 PC: 0x40056f
Temporary breakpoint 1, main () at hello.c:3
(gdb) n
(gdb)
hello8
hello9
hello10
...
That is, from top to bottom:
- src window
- status window
- cmd window
- output window
...
This fixes the problem that:
...
(gdb) next
...
followed by <enter> produces very briefly:
...
(gdb) next
hello
...
before being overwritten by the following prompt:
...
(gdb) next
(gdb)
...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-01 9:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-31 23:35 [Bug tui/30502] New: [gdb/tui] output window vries at gcc dot gnu.org
2023-06-01 9:43 ` [Bug tui/30502] " aburgess at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).