gdb/tui: Define tui window names once.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 6 Jul 2015 16:50:28 +0000 (17:50 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 10 Jul 2015 11:38:38 +0000 (12:38 +0100)
commit150375dc7ac877d1dc6e8aaf73a23479b720306c
tree641d518af89f336b840cdecf7cc35bd202021b86
parent6dce28e413375aa878cf43853d32657d1fc26c6f
gdb/tui: Define tui window names once.

Don't duplicate the window names inside the completion function.
Instead make use of the existing defines, and the tui_win_name function
to obtain the window names.

gdb/ChangeLog:

* tui/tui-win.c (focus_completer): Don't duplicate the tui window
names in this function.
gdb/ChangeLog
gdb/tui/tui-win.c