This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RFA: [configure.in] Turn on UI_OUT code
- To: gdb-patches at sources dot redhat dot com
- Subject: RFA: [configure.in] Turn on UI_OUT code
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Mon, 11 Dec 2000 19:17:16 +0000
- Organization: Red Hat Canada Ltd. - Toronto
The separation of libgdb code depends on the ui_out functions being used.
Also, the improvement of the Insight to GDB interface depends on it.
The Kernel Object Display facility is crippled because it needs the uiout.
People who are writting script languages and GUIs to connect to GDB also
depend on it.
However, the code that uses uiout is uder a ifdef on UI_OUT and is not
being compiled by default.
At the last open GDB meeting/party it was asked if we all could rely on the
uiout code for our projects. The answer was yes. We now ask that this code
be the one compiled by default.
Note: testsuite runs show no regressions.
Fernando
ChangeLog:
* configure.in: Make yes the default for enable-gdbmi option.
* configure: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.48
diff -c -p -r1.48 configure.in
*** configure.in 2000/12/11 18:59:47 1.48
--- configure.in 2000/12/11 19:04:03
*************** dnl Handle MI sub-directory configury.
*** 500,513 ****
AC_ARG_ENABLE(gdbmi,
[ --enable-gdbmi Enable GDB-MI interface],
[
! case "${enable_gdbmi}" in
! yes | no) ;;
"") enable_gdbmi=yes ;;
*)
AC_MSG_ERROR(Bad value for --enable-gdbmi: ${enableval})
;;
esac
! ])
case ${enable_gdbmi} in
"yes" )
if test -d "${srcdir}/mi" ; then
--- 500,516 ----
AC_ARG_ENABLE(gdbmi,
[ --enable-gdbmi Enable GDB-MI interface],
[
! case "${enableval}" in
! yes) enable_gdbmi=yes ;;
"") enable_gdbmi=yes ;;
+ no)
+ enable_gdbmi=no ;;
*)
AC_MSG_ERROR(Bad value for --enable-gdbmi: ${enableval})
;;
esac
! ],
! [enable_gdbmi=yes])
case ${enable_gdbmi} in
"yes" )
if test -d "${srcdir}/mi" ; then
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9