From e74e72b411e9d1b3d342a1856c4f585b697463e4 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 2 Jun 2005 16:52:04 +0000 Subject: [PATCH] * exceptions.h: Include ui-out.h. (ui_out): Remove declaration. * Makefile.in (exceptions_h): Add dependency on ui-out.h. --- gdb/ChangeLog | 6 ++++++ gdb/Makefile.in | 2 +- gdb/exceptions.h | 3 +-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a43a2874cf1..d4d80f64602 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2005-04-02 Joel Brobecker + + * exceptions.h: Include ui-out.h. + (ui_out): Remove declaration. + * Makefile.in (exceptions_h): Add dependency on ui-out.h. + 2005-05-30 Andrew Cagney * MAINTAINERS (Can Commit Without Approval): New section, diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 2d281cb5163..7a27d0bb196 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -672,7 +672,7 @@ dwarf2loc_h = dwarf2loc.h environ_h = environ.h event_loop_h = event-loop.h event_top_h = event-top.h -exceptions_h = exceptions.h +exceptions_h = exceptions.h $(ui_out_h) exec_h = exec.h $(target_h) expression_h = expression.h $(symtab_h) $(doublest_h) fbsd_nat_h = fbsd-nat.h diff --git a/gdb/exceptions.h b/gdb/exceptions.h index 10b2ac57b8b..c722503f837 100644 --- a/gdb/exceptions.h +++ b/gdb/exceptions.h @@ -24,8 +24,7 @@ #ifndef EXCEPTIONS_H #define EXCEPTIONS_H -struct ui_out; - +#include "ui-out.h" #include /* Reasons for calling throw_exceptions(). NOTE: all reason values -- 2.30.2