aboutsummaryrefslogtreecommitdiff
path: root/gdb/reggroups.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-12-04 08:08:13 -0700
committerTom Tromey <tromey@adacore.com>2019-12-04 08:08:13 -0700
commit7a9e9f9f1e78a085fdf60faadd83990c3ca6d18c (patch)
treeb2dea27f62757d1c2f33cd8df87479cb10c235a2 /gdb/reggroups.c
parentfeee869bd84841bc048b4ca60a8713d80f8be5d9 (diff)
downloadgdb-7a9e9f9f1e78a085fdf60faadd83990c3ca6d18c.zip
gdb-7a9e9f9f1e78a085fdf60faadd83990c3ca6d18c.tar.gz
gdb-7a9e9f9f1e78a085fdf60faadd83990c3ca6d18c.tar.bz2
Fix another build failure in tui-selftests.c
Christian had emailed me to say that the TUI unit test broke the mingw build, but I erroneously thought this was fixed by the earlier patch that made the test body conditional on the TUI being built. However, I was wrong about this -- tui-selftests.c unconditionally includes tui-winsource.h, which fails if curses is not available. This patch fixes the build problem by moving this include into the "#ifdef TUI" section. Tested by rebuilding a mingw-hosted gdb. gdb/ChangeLog 2019-12-04 Tom Tromey <tromey@adacore.com> * unittests/tui-selftests.c: Conditionally include tui-winsource.h. Change-Id: If608649ef5cbef8ea92192e11c53379742967ee7
Diffstat (limited to 'gdb/reggroups.c')
0 files changed, 0 insertions, 0 deletions