gdbsupport: move include/gdb/fileio.h contents to fileio.h
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 26 Aug 2022 19:31:09 +0000 (15:31 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Wed, 21 Sep 2022 18:11:03 +0000 (14:11 -0400)
commit198f946ffe9fbfeeb187531e57cab6c3fd9d8b3d
treeb208b012e2abb6d0977494eb948f5f58859c8e28
parent6f1d2f789bfaf457565787ff8a59108039bc637e
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
gdb/remote.c
gdb/target.c
gdbserver/hostio.cc
gdbserver/win32-low.cc
gdbsupport/fileio.h
include/gdb/fileio.h [deleted file]