Change members of tui_locator_window to std::string
authorTom Tromey <tom@tromey.com>
Sun, 1 Sep 2019 14:13:24 +0000 (08:13 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 20 Sep 2019 19:49:10 +0000 (13:49 -0600)
commit9923f347c4e4b9ed710de3404444cf46b04135a0
treede2f72d590b7b6636aca60b859a6166b61efbb5d
parentb76251abaf279603367ae730b9194fb20861fdb9
Change members of tui_locator_window to std::string

This changes two members of tui_locator_window to have type
std::string.  This removes a static limit.

gdb/ChangeLog
2019-09-20  Tom Tromey  <tom@tromey.com>

* tui/tui-stack.h (MAX_LOCATOR_ELEMENT_LEN): Remove define.
(struct tui_locator_window) <full_name, proc_name>: Now
std::string.
* tui/tui-stack.c (tui_locator_window::make_status_line)
(tui_locator_window::set_locator_fullname)
(tui_locator_window::set_locator_info): Update.
* tui/tui-source.c (tui_source_window::set_contents)
(tui_source_window::showing_source_p): Update.
gdb/ChangeLog
gdb/tui/tui-source.c
gdb/tui/tui-stack.c
gdb/tui/tui-stack.h