* configure.in: Remove UI_OUT configuration code.

* ada-lang.c: Update assuming UI_OUT is always true.
* Makefile.in (UIOUT_CFLAGS): Remove.
* configure: Regenerated.
* TODO: Remove blurb about elimination of -DUI_OUT.
This commit is contained in:
Mark Kettenis 2003-01-02 20:29:15 +00:00
parent 627af7eaa2
commit f5dbc56d4d
6 changed files with 503 additions and 562 deletions

View file

@ -1,5 +1,11 @@
2003-01-02 Mark Kettenis <kettenis@gnu.org>
* configure.in: Remove UI_OUT configuration code.
* ada-lang.c: Update assuming UI_OUT is always true.
* Makefile.in (UIOUT_CFLAGS): Remove.
* configure: Regenerated.
* TODO: Remove blurb about elimination of -DUI_OUT.
* configure.in: Move code that provides the --enable-gdbcli,
--enable-gdbmi options right before the code that handles the
--enable-tui option. Polish a bit.

View file

@ -109,9 +109,6 @@ LIBIBERTY = ../libiberty/libiberty.a
MMALLOC = @MMALLOC@
MMALLOC_CFLAGS = @MMALLOC_CFLAGS@
# Configured by the --with-uiout option to configure.
UIOUT_CFLAGS = @UIOUT_CFLAGS@
# Where is the BFD library? Typically in ../bfd.
BFD_DIR = ../bfd
BFD = $(BFD_DIR)/libbfd.a
@ -337,7 +334,7 @@ INTERNAL_WARN_CFLAGS = \
$(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
$(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
$(BFD_CFLAGS) $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS) \
$(INTL_CFLAGS) $(ENABLE_CFLAGS) $(UIOUT_CFLAGS) \
$(INTL_CFLAGS) $(ENABLE_CFLAGS) \
$(GDB_WARN_CFLAGS)
INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS) $(GDB_WERROR_CFLAGS)

View file

@ -114,12 +114,6 @@ The following cleanups have been identified as part of GDB 5.2.
--
Remove old code that does not use ui_out functions and all the related
"ifdef"s. This also allows the elimination of -DUI_OUT from
Makefile.in and configure.in.
--
Compiler warnings.
Eliminate warnings for all targets on at least one host for one of the

View file

@ -36,9 +36,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "breakpoint.h"
#include "gdbcore.h"
#include "ada-lang.h"
#ifdef UI_OUT
#include "ui-out.h"
#endif
struct cleanup *unresolved_names;
@ -5054,7 +5052,6 @@ find_printable_frame (struct frame_info *fi, int level)
void
ada_report_exception_break (struct breakpoint *b)
{
#ifdef UI_OUT
/* FIXME: break_on_exception should be defined in breakpoint.h */
/* if (b->break_on_exception == 1)
{
@ -5092,7 +5089,6 @@ ada_report_exception_break (struct breakpoint *b)
else if (b->break_on_exception == 3)
fputs_filtered ("on assert failure", gdb_stdout);
*/
#endif
}
int

1021
gdb/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -865,29 +865,6 @@ fi
dnl Handle optional features that can be enabled.
# Configure UI_OUT by default (before 5.2 it can be disabled)
# It must be configured if gdbmi is configured
UIOUT_CFLAGS=
AC_SUBST(UIOUT_CFLAGS)
AC_ARG_WITH(uiout,
[ --with-uiout Use new uiout functions instead of *printf's],
[case "${withval}" in
yes) want_uiout=true ;;
no) if test $enable_gdbmi = yes; then
AC_MSG_ERROR(uiout is needed for MI and cannot be disabled)
else
want_uiout=false
fi ;;
*) AC_MSG_ERROR(bad value ${withval} for GDB with-uiout option) ;;
esac],
[want_uiout=true])dnl
if test $want_uiout = true; then
UIOUT_CFLAGS="-DUI_OUT=1"
fi
AC_ARG_ENABLE(netrom,
[ --enable-netrom Enable NetROM support],
[case "${enableval}" in