aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-08-26 15:31:09 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2022-09-21 14:11:03 -0400
commit198f946ffe9fbfeeb187531e57cab6c3fd9d8b3d (patch)
treeb208b012e2abb6d0977494eb948f5f58859c8e28 /gdb
parent6f1d2f789bfaf457565787ff8a59108039bc637e (diff)
downloadgdb-198f946ffe9fbfeeb187531e57cab6c3fd9d8b3d.zip
gdb-198f946ffe9fbfeeb187531e57cab6c3fd9d8b3d.tar.gz
gdb-198f946ffe9fbfeeb187531e57cab6c3fd9d8b3d.tar.bz2
gdbsupport: move include/gdb/fileio.h contents to fileio.h
I don't see why include/gdb/fileio.h is placed there. It's not installed by "make install", and it's not included by anything outside of gdb/gdbserver/gdbsupport. Move its content back to gdbsupport/fileio.h. I have omitted the bits inside an `#if 0`, since it's obviously not used, as well as the "limits" constants, which are also unused. Change-Id: I6fbc2ea10fbe4cfcf15f9f76006b31b99c20e5a9
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdb_bfd.c2
-rw-r--r--gdb/remote.c2
-rw-r--r--gdb/target.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c
index c5a5ed9..7631e27 100644
--- a/gdb/gdb_bfd.c
+++ b/gdb/gdb_bfd.c
@@ -30,7 +30,7 @@
#endif
#endif
#include "target.h"
-#include "gdb/fileio.h"
+#include "gdbsupport/fileio.h"
#include "inferior.h"
#include "cli/cli-style.h"
#include <unordered_map>
diff --git a/gdb/remote.c b/gdb/remote.c
index 70f918a..5bae654 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -59,7 +59,7 @@
#include "gdbcore.h"
#include "remote-fileio.h"
-#include "gdb/fileio.h"
+#include "gdbsupport/fileio.h"
#include <sys/stat.h>
#include "xml-support.h"
diff --git a/gdb/target.c b/gdb/target.c
index 4114490..9d698af 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -40,7 +40,7 @@
#include "exec.h"
#include "inline-frame.h"
#include "tracepoint.h"
-#include "gdb/fileio.h"
+#include "gdbsupport/fileio.h"
#include "gdbsupport/agent.h"
#include "auxv.h"
#include "target-debug.h"