[RFA-v2] ARI fixes: move gdb_stat.h and gdb_wait.h to common subdirectory.
Pierre Muller
pierre.muller@ics-cnrs.unistra.fr
Thu Nov 15 15:55:00 GMT 2012
This is a second version of the patch,
after AC_HEADER_STAT has been removed as suggested by Pedro.
The goal is still the same:
move gdb_stat.h and gdb_wait.h to common sub-directory
and use it also for gdbserver.
Pierre Muller
2012-11-15 Pierre Muller <muller@sourceware.org>
ARI fixes: move gdb_wait and gdb_stat headers to common
subdirectory.
* gdb_stat.h: Delete. Moved to common directory.
* common/gdb_stat.h: New file.
* gdb_wait.h: Delete. Moved to common directory.
* common/gdb_wait.h: New file.
* Makefile.in (H_FILES_NO_SRC): Adapt to new header
location.
* contrib/ari/gdb_ari.sh (wait.h rule): Adapt to new gdb_wait.h
location.
(stat.h rule): Adapt to new gdb_stat.h location.
* common/linux-osdata.c: Include "gdb_stat.h" header instead of
<sys/stat.h> header.
* common/linux-ptrace.c: Include "gdb_wait.h" header instead of
<sys/wait.h> header.
gdbserver ChangeLog entry:
2012-11-15 Pierre Muller <muller@sourceware.org>
* gdbserver/configure.ac (AC_CHECK_HEADERS): Add wait.h header.
* gdbserver/config.in: Regenerate.
* gdbserver/configure: Regenerate.
* gdbserver/linux-low.c:
Use "gdb_stat.h" header instead of <sys/stat.h> header.
Use "gdb_wait.h" header instead of <sys/wait.h> header.
* gdbserver/lynx-low.c:
Use "gdb_wait.h" header instead of <sys/wait.h> header.
* gdbserver/remote-utils.c:
Use "gdb_stat.h" header instead of <sys/stat.h> header.
* gdbserver/server.c: Remove HAVE_WAIT_H conditional.
Use "gdb_wait.h" header instead of <sys/wait.h> header.
* gdbserver/spu-low.c:
Use "gdb_wait.h" header instead of <sys/wait.h> header.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ARI-stat-wait-v2.patch
Type: application/octet-stream
Size: 22218 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20121115/e796d0fa/attachment.obj>
More information about the Gdb-patches
mailing list