diff options
author | Tom Tromey <tom@tromey.com> | 2020-07-01 21:21:12 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-07-01 21:21:13 -0600 |
commit | 7a02bab704afdc2c46e056da166eaaa025ff4b03 (patch) | |
tree | 77c614e16fb84496aabf50aef85343dfb328d135 /elfcpp | |
parent | ea68593bd2c649a73754e150340ba3400c007682 (diff) | |
download | gdb-7a02bab704afdc2c46e056da166eaaa025ff4b03.zip gdb-7a02bab704afdc2c46e056da166eaaa025ff4b03.tar.gz gdb-7a02bab704afdc2c46e056da166eaaa025ff4b03.tar.bz2 |
Remove tui_expand_tabs
tui_expand_tabs only has a single caller. This patch removes this
function, in favor of a tab-expanding variant of string_file. This
simplifies the code somewhat.
gdb/ChangeLog
2020-07-01 Tom Tromey <tom@tromey.com>
* tui/tui-regs.h (struct tui_data_item_window) <content>: Now a
std::string.
* tui/tui-regs.c (class tab_expansion_file): New.
(tab_expansion_file::write): New method.
(tui_register_format): Change return type. Use
tab_expansion_file.
(tui_get_register, tui_data_window::display_registers_from)
(tui_data_item_window::rerender): Update.
* tui/tui-io.h (tui_expand_tabs): Don't declare.
* tui/tui-io.c (tui_expand_tabs): Remove.
Diffstat (limited to 'elfcpp')
0 files changed, 0 insertions, 0 deletions