This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Attachment: ARI-stat-wait-v2.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]