aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests
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/unittests
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/unittests')
-rw-r--r--gdb/unittests/environ-selftests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/unittests/environ-selftests.c b/gdb/unittests/environ-selftests.c
index a66e8c7..31b7ebf 100644
--- a/gdb/unittests/environ-selftests.c
+++ b/gdb/unittests/environ-selftests.c
@@ -20,7 +20,7 @@
#include "defs.h"
#include "selftest.h"
#include "common/environ.h"
-#include "common/diagnostics.h"
+#include "diagnostics.h"
static const char gdb_selftest_env_var[] = "GDB_SELFTEST_ENVIRON";