public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/18626] New: 'show configuration' and --enable-tui
@ 2015-07-06 10:52 dilyan.palauzov at aegee dot org
2023-05-27 19:11 ` [Bug gdb/18626] " vries at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: dilyan.palauzov at aegee dot org @ 2015-07-06 10:52 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=18626
Bug ID: 18626
Summary: 'show configuration' and --enable-tui
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: dilyan.palauzov at aegee dot org
Target Milestone: ---
'show configuration' shall print information where TUIis compiled in.
Just add an AC_DEFINE(HAVE_TUI, 1, [Define if TUI support is enabled]) in
configure.ac, line 2508:
# Check whether we should enable the TUI, but only do so if we really
# can.
if test x"$enable_tui" != xno; then
if test -d $srcdir/tui; then
if test "$curses_found" != no; then
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
ENABLE_CFLAGS="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
AC_DEFINE(HAVE_TUI, 1, [Define if TUI support is enabled])
else
if test x"$enable_tui" = xyes; then
AC_MSG_ERROR([no enhanced curses library found; disable TUI])
else
AC_MSG_WARN([no enhanced curses library found; disabling TUI])
fi
fi
fi
fi
and then in gdb/top.c:gdb_print_configuration() insert
#if HAVE_TUI
fprintf_filtered (stream, _("\
--enable-tui\n\
"));
#else
fprintf_filtered (stream, _("\
--disable-tui\n\
"));
#endif
between the --with-auto-load and -with-expat segments.
Then move the --with-babeltrace snippet right after --with-auto-load-dir and
reorder --with-guile, to keep the alphabetical order of the shown directives.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug gdb/18626] 'show configuration' and --enable-tui
2015-07-06 10:52 [Bug gdb/18626] New: 'show configuration' and --enable-tui dilyan.palauzov at aegee dot org
@ 2023-05-27 19:11 ` vries at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2023-05-27 19:11 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=18626
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |14.1
CC| |vries at gcc dot gnu.org
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Fixed by commit b5075fb68d4 ("Rename to allow_tui_tests").
Will be available in gdb 14.1.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-27 19:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-06 10:52 [Bug gdb/18626] New: 'show configuration' and --enable-tui dilyan.palauzov at aegee dot org
2023-05-27 19:11 ` [Bug gdb/18626] " vries at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).