This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tui/18932] list command doesn't work in TUI any more
- From: "tromey at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 02 Sep 2018 23:09:08 +0000
- Subject: [Bug tui/18932] list command doesn't work in TUI any more
- Auto-submitted: auto-generated
- References: <bug-18932-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18932
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
The way that list interfaces with the TUI is pretty convoluted.
While some other CLI commands have some "if TUI" logic, list
just works the usual way and then relies on the TUI's ui-out
object to understand "fullname"; see tui_ui_out::do_field_string.
Anyway that code just calls tui_show_source, so perhaps that
could just set a flag somewhere.
This doesn't seem hard but I wonder how the TUI would know to
revert to ordinary behavior on stepping.
Perhaps the TUI needs to track the frame id and line number and
then only update the source window when this changes?
--
You are receiving this mail because:
You are on the CC list for the bug.