diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-06 15:04:12 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-15 12:29:28 -0600 |
commit | a54700c6c45ea424b668f2201ef14906f2052412 (patch) | |
tree | e379e5c24176b5ea9c3017b56a66374f144932f4 /gdb/source-cache.c | |
parent | e2a678a557b52816a7aa45902a6519bc1cae918e (diff) | |
download | gdb-a54700c6c45ea424b668f2201ef14906f2052412.zip gdb-a54700c6c45ea424b668f2201ef14906f2052412.tar.gz gdb-a54700c6c45ea424b668f2201ef14906f2052412.tar.bz2 |
Move contents of tui_show_frame_info to new method
This moves much of the body of tui_show_frame_info to a new method on
tui_source_window_base. This removes a check for the type of a
window.
gdb/ChangeLog
2019-08-15 Tom Tromey <tom@tromey.com>
* tui/tui-winsource.h (struct tui_source_window_base)
<maybe_update>: Declare.
* tui/tui-stack.c (tui_show_frame_info): Call maybe_update
method.
* tui/tui-source.h (struct tui_source_window) <maybe_update>:
Declare.
* tui/tui-source.c (tui_source_window::maybe_update): New method.
* tui/tui-disasm.h (struct tui_disasm_window) <maybe_update>:
Declare.
* tui/tui-disasm.c (tui_disasm_window::maybe_update): New method.
Diffstat (limited to 'gdb/source-cache.c')
0 files changed, 0 insertions, 0 deletions