[RFA-v2] ARI fixes: move gdb_stat.h and gdb_wait.h to common subdirectory.

Pedro Alves palves@redhat.com
Thu Nov 15 16:02:00 GMT 2012


On 15-11-2012 15:54, Pierre Muller wrote:
> 
> 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.

Remove the "gdbserver/" prefixes.  Otherwise OK.  Thanks.

-- 
Pedro Alves



More information about the Gdb-patches mailing list