aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-08 12:42:29 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:58 -0700
commitb5075fb68d4b7a9ed1505150a395755260953809 (patch)
tree4d32d08c139c7145be62180506506a056c0756d7 /gdb/top.c
parente71b6502bffecbbdd99a791c6ee7545603bafbc1 (diff)
downloadgdb-b5075fb68d4b7a9ed1505150a395755260953809.zip
gdb-b5075fb68d4b7a9ed1505150a395755260953809.tar.gz
gdb-b5075fb68d4b7a9ed1505150a395755260953809.tar.bz2
Rename to allow_tui_tests
This changes skip_tui_tests to invert the sense, and renames it to allow_tui_tests. It also rewrites this function to use the output of "gdb --configuration", and it adds a note about the state of the TUI to that output.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/top.c b/gdb/top.c
index c32ab89..205eb36 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1649,6 +1649,16 @@ This GDB was configured as follows:\n\
"));
#endif
+#ifdef TUI
+ gdb_printf (stream, _("\
+ --enable-tui\n\
+"));
+#else
+ gdb_printf (stream, _("\
+ --disable-tui\n\
+"));
+#endif
+
#ifdef RELOC_SRCDIR
gdb_printf (stream, _("\
--with-relocated-sources=%s\n\