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> * configure.ac (AC_CHECK_HEADERS): Add wait.h header. * config.in: Regenerate. * configure: Regenerate. * 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. * lynx-low.c: Use "gdb_wait.h" header instead of <sys/wait.h> header. * remote-utils.c: Use "gdb_stat.h" header instead of <sys/stat.h> header. * server.c: Remove HAVE_WAIT_H conditional. Use "gdb_wait.h" header instead of <sys/wait.h> header. * spu-low.c: Use "gdb_wait.h" header instead of <sys/wait.h> header.
This commit is contained in:
parent
3a731e0fc7
commit
8bdce1ffdf
16 changed files with 48 additions and 16 deletions
|
@ -21,7 +21,7 @@
|
|||
#include "linux-osdata.h"
|
||||
#include "agent.h"
|
||||
|
||||
#include <sys/wait.h>
|
||||
#include "gdb_wait.h"
|
||||
#include <stdio.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/ptrace.h>
|
||||
|
@ -40,7 +40,7 @@
|
|||
#include <pwd.h>
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
#include <sys/stat.h>
|
||||
#include "gdb_stat.h"
|
||||
#include <sys/vfs.h>
|
||||
#include <sys/uio.h>
|
||||
#ifndef ELFMAG0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue