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/18932] list command doesn't work in TUI any more


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.

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