diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-13 16:01:34 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-20 16:45:50 -0600 |
commit | b9ad36868f46d5270347ef50fd62fde94d68328b (patch) | |
tree | 6962281859638702bcfe090465937a2b6ab51134 /gas/literal.c | |
parent | 8e114aab8bdab9a988dfc0afbb3fecc17e2d45b6 (diff) | |
download | gdb-b9ad36868f46d5270347ef50fd62fde94d68328b.zip gdb-b9ad36868f46d5270347ef50fd62fde94d68328b.tar.gz gdb-b9ad36868f46d5270347ef50fd62fde94d68328b.tar.bz2 |
Change tui_data_item_window::content to be a unique_xmalloc_ptr
This changes tui_data_item_window::content to be a unique_xmalloc_ptr
and fixes up the fallout. It also removes a parameter from
tui_expand_tabs, as it was only ever given one value.
This also removes some tab-handling code from
tui_data_window::display_registers_from. Because the content can only
be set by tui_register_format, and because that calls tui_expand_tabs,
it's not possible to see a tab here.
gdb/ChangeLog
2019-08-20 Tom Tromey <tom@tromey.com>
* tui/tui-regs.h (struct tui_data_item_window)
<~tui_data_item_window>: Remove.
<content>: Now a unique_xmalloc_ptr.
* tui/tui-regs.c (tui_register_format): Return a
unique_xmalloc_ptr.
(tui_get_register): Update.
(~tui_data_item_window): Remove.
(tui_data_window::display_registers_from, tui_display_register):
Update.
* tui/tui-io.h (tui_expand_tabs): Update.
* tui/tui-io.c (tui_expand_tabs): Return a unique_xmalloc_ptr.
Remove "col" parameter.
Diffstat (limited to 'gas/literal.c')
0 files changed, 0 insertions, 0 deletions