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 --- gdb/gdb_bfd.c | 2 +- gdb/remote.c | 2 +- gdb/target.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb') 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 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 #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" -- cgit v1.1