aboutsummaryrefslogtreecommitdiff
path: root/gdbserver
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 /gdbserver
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 'gdbserver')
-rw-r--r--gdbserver/hostio.cc2
-rw-r--r--gdbserver/win32-low.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdbserver/hostio.cc b/gdbserver/hostio.cc
index 2d17b6d..4f763f3 100644
--- a/gdbserver/hostio.cc
+++ b/gdbserver/hostio.cc
@@ -19,7 +19,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "server.h"
-#include "gdb/fileio.h"
+#include "gdbsupport/fileio.h"
#include "hostio.h"
#include <fcntl.h>
diff --git a/gdbserver/win32-low.cc b/gdbserver/win32-low.cc
index 5e2c028..af132f6 100644
--- a/gdbserver/win32-low.cc
+++ b/gdbserver/win32-low.cc
@@ -20,7 +20,7 @@
#include "server.h"
#include "regcache.h"
-#include "gdb/fileio.h"
+#include "gdbsupport/fileio.h"
#include "mem-break.h"
#include "win32-low.h"
#include "gdbthread.h"