diff options
author | Kévin Le Gouguec <legouguec@adacore.com> | 2023-02-22 13:37:06 +0100 |
---|---|---|
committer | Kévin Le Gouguec <legouguec@adacore.com> | 2023-03-06 17:31:57 +0100 |
commit | 1d6653fd3f4e0d7140e705733412fd75c40177b2 (patch) | |
tree | a95a6eb61f55ec87875e167acb1bfff0fb004136 /binutils | |
parent | f69005750d70ff4e305c45a250053823b0559f11 (diff) | |
download | binutils-1d6653fd3f4e0d7140e705733412fd75c40177b2.zip binutils-1d6653fd3f4e0d7140e705733412fd75c40177b2.tar.gz binutils-1d6653fd3f4e0d7140e705733412fd75c40177b2.tar.bz2 |
gdb/python: Fix --disable-tui build
As of 2023-02-13 "gdb/python: deallocate tui window factories at Python
shut down" (9ae4519da90), a TUI-less build fails with:
$src/gdb/python/py-tui.c: In function ‘void gdbpy_finalize_tui()’:
$src/gdb/python/py-tui.c:621:3: error: ‘gdbpy_tui_window_maker’ has not been declared
621 | gdbpy_tui_window_maker::invalidate_all ();
| ^~~~~~~~~~~~~~~~~~~~~~
Since gdbpy_tui_window_maker is only defined under #ifdef TUI, add an
#ifdef guard in gdbpy_finalize_tui as well.
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions