Handle ambiguity in tui_partial_win_by_name
authorTom Tromey <tom@tromey.com>
Sat, 22 Feb 2020 18:48:26 +0000 (11:48 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 22 Feb 2020 18:48:36 +0000 (11:48 -0700)
commite098d18cfc12c750616b7c934b9a9057f71f3553
treeeb3723296ab62f2d92f5a658815b5aea42d12923
parenteb9c88745686d46c5100bdf1c2f112d699c7f702
Handle ambiguity in tui_partial_win_by_name

This changes tui_partial_win_by_name to correctly handle an ambiguous
name prefix.  This will be important once the user can register new
window types.

gdb/ChangeLog
2020-02-22  Tom Tromey  <tom@tromey.com>

* tui/tui-win.c (tui_partial_win_by_name): Handle ambiguity
correctly.

Change-Id: I59aaacd697eeab649164183457ef722dae58d60d
gdb/ChangeLog
gdb/tui/tui-win.c