aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lex.l
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-06-01 09:38:22 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-06-01 09:40:30 -0700
commite9cb46ab59ff2ea94a7fd9fa857a084d3a9b8b39 (patch)
tree8236381a0762a35ed769495de28250d927ea32b9 /gdb/ada-lex.l
parent8e817061976910fd1ac7bb8f689dbd96123ea593 (diff)
downloadgdb-e9cb46ab59ff2ea94a7fd9fa857a084d3a9b8b39.zip
gdb-e9cb46ab59ff2ea94a7fd9fa857a084d3a9b8b39.tar.gz
gdb-e9cb46ab59ff2ea94a7fd9fa857a084d3a9b8b39.tar.bz2
Move gdb/common/diagnostics.h to include/diagnostics.h
Move gdb/common/diagnostics.h to include/diagnostics.h so that it can be used in binutils. gdb/ * ada-lex.l: Include "diagnostics.h" instead of "common/diagnostics.h". * unittests/environ-selftests.c: Likewise. * common/diagnostics.h: Moved to ../include. include/ * diagnostics.h: Moved from ../gdb/common/diagnostics.h.
Diffstat (limited to 'gdb/ada-lex.l')
-rw-r--r--gdb/ada-lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l
index c83a619..621ebb2 100644
--- a/gdb/ada-lex.l
+++ b/gdb/ada-lex.l
@@ -41,7 +41,7 @@ POSEXP (e"+"?{NUM10})
%{
-#include "common/diagnostics.h"
+#include "diagnostics.h"
/* Some old versions of flex generate code that uses the "register" keyword,
which clang warns about. This was observed for example with flex 2.5.35,