aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2005-06-02 16:52:04 +0000
committerJoel Brobecker <brobecker@gnat.com>2005-06-02 16:52:04 +0000
commite74e72b411e9d1b3d342a1856c4f585b697463e4 (patch)
tree479fa21153f9fe3103af4aa6c6df7d5f5af580ad
parentb38b1562e10c39df3e9c82fb5bfd6272923190f0 (diff)
downloadgdb-e74e72b411e9d1b3d342a1856c4f585b697463e4.zip
gdb-e74e72b411e9d1b3d342a1856c4f585b697463e4.tar.gz
gdb-e74e72b411e9d1b3d342a1856c4f585b697463e4.tar.bz2
* exceptions.h: Include ui-out.h.
(ui_out): Remove declaration. * Makefile.in (exceptions_h): Add dependency on ui-out.h.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in2
-rw-r--r--gdb/exceptions.h3
3 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a43a287..d4d80f6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2005-04-02 Joel Brobecker <brobecker@adacore.com>
+
+ * 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 <cagney@gnu.org>
* MAINTAINERS (Can Commit Without Approval): New section,
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 2d281cb..7a27d0b 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 10b2ac5..c722503 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 <setjmp.h>
/* Reasons for calling throw_exceptions(). NOTE: all reason values