diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/tui/tui-data.c | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 44af045..1ff7a75 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2015-04-28 Patrick Palka <patrick@parcs.ath.cx> + PR gdb/18155 + * tui/tui-data.c (tui_free_window): Don't free the locator + window when passed an SRC_WIN or a DISASSEM_WIN. + +2015-04-28 Patrick Palka <patrick@parcs.ath.cx> + * tui/tui-data.h (struct tui_win_element): Forward-declare. (tui_win_content): Move declaration. (struct tui_gen_win_info): Give 'content' field the diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c index 44c1feb..ffd80d5 100644 --- a/gdb/tui/tui-data.c +++ b/gdb/tui/tui-data.c @@ -719,13 +719,6 @@ tui_free_window (struct tui_win_info *win_info) { case SRC_WIN: case DISASSEM_WIN: - generic_win = tui_locator_win_info_ptr (); - if (generic_win != (struct tui_gen_win_info *) NULL) - { - tui_delete_win (generic_win->handle); - generic_win->handle = (WINDOW *) NULL; - } - tui_free_win_content (generic_win); if (win_info->detail.source_info.fullname) { xfree (win_info->detail.source_info.fullname); |