From 198f946ffe9fbfeeb187531e57cab6c3fd9d8b3d Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 26 Aug 2022 15:31:09 -0400 Subject: 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 --- gdbserver/hostio.cc | 2 +- gdbserver/win32-low.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gdbserver') 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 . */ #include "server.h" -#include "gdb/fileio.h" +#include "gdbsupport/fileio.h" #include "hostio.h" #include 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" -- cgit v1.1