diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8a961c61e7..5d5e8290db 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-06-30 Patrick Palka + + * tui/tui-stack.c (tui_set_locator_info): Explicitly pass + LOCATOR_WIN to tui_alloc_content. + 2015-06-30 Yao Qi PR tdep/18605 diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c index 2870d70b08..b17d303d34 100644 --- a/gdb/tui/tui-stack.c +++ b/gdb/tui/tui-stack.c @@ -306,7 +306,7 @@ tui_set_locator_info (struct gdbarch *gdbarch, /* Allocate the locator content if necessary. */ if (locator->content_size <= 0) { - locator->content = tui_alloc_content (1, locator->type); + locator->content = tui_alloc_content (1, LOCATOR_WIN); locator->content_size = 1; }