aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2014-01-22 11:42:27 +0400
committerJoel Brobecker <brobecker@adacore.com>2014-01-27 08:29:47 +0400
commit467d141bf5399b1092118981da1143523b19b896 (patch)
treecc93f2e518cfbc89cb2a4a09f69f110cec2c283c /gdb/ada-lang.c
parentfb151210966ed045c124b7accfb3422d35166607 (diff)
downloadgdb-467d141bf5399b1092118981da1143523b19b896.zip
gdb-467d141bf5399b1092118981da1143523b19b896.tar.gz
gdb-467d141bf5399b1092118981da1143523b19b896.tar.bz2
ada-lang.c: Really include "ui-out.h".
Currently, ada-lang.c pretends to include "ui-out.h" as follow: #ifdef UI_OUT #include "ui-out.h" #endif However, UI_OUT is never defined as far as I can tell. This is confirmed by rebuilding with a #error pragma inside the #ifdef UI_OUT block, which never triggers. Since this unit makes references to declarations from ui-out.h, this patch simply removes the #ifdef/#endif condition. This has not been an error so far because "ui-out.h" indirectly gets included, via one of the other .h files being included. gdb/ChangeLog: * ada-lang.c: Remove "#ifdef UI_OUT" condition for including "ui-out.h".
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index a1b638c..2630456 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -44,9 +44,7 @@
#include "ada-lang.h"
#include "completer.h"
#include <sys/stat.h>
-#ifdef UI_OUT
#include "ui-out.h"
-#endif
#include "block.h"
#include "infcall.h"
#include "dictionary.h"