diff options
author | Pierre Muller <muller@sourceware.org> | 2013-05-07 13:04:58 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2013-05-07 13:04:58 +0000 |
commit | be8b1ea6766a74d67581dc1012d04bef81f1b3bf (patch) | |
tree | b846de1ceaa94b85df29c84901e1b51c4fc3c627 /gdb | |
parent | 1e52bda604f57ab76362d7caa9f541ff9b206740 (diff) | |
download | gdb-be8b1ea6766a74d67581dc1012d04bef81f1b3bf.zip gdb-be8b1ea6766a74d67581dc1012d04bef81f1b3bf.tar.gz gdb-be8b1ea6766a74d67581dc1012d04bef81f1b3bf.tar.bz2 |
* common/linux-btrace.c: ARI fix: Include "gdb_wait.h"
instead of <sys/wait.h>.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/common/linux-btrace.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f174778..40ceae6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2013-05-07 Pierre Muller <muller@sourceware.org> + * common/linux-btrace.c: ARI fix: Include "gdb_wait.h" + instead of <sys/wait.h>. + +2013-05-07 Pierre Muller <muller@sourceware.org> + * nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove trailing new line from warning message. diff --git a/gdb/common/linux-btrace.c b/gdb/common/linux-btrace.c index d3c8705..1f9a001 100644 --- a/gdb/common/linux-btrace.c +++ b/gdb/common/linux-btrace.c @@ -30,6 +30,7 @@ #include "gdb_assert.h" #include "regcache.h" #include "gdbthread.h" +#include "gdb_wait.h" #if HAVE_LINUX_PERF_EVENT_H @@ -42,7 +43,6 @@ #include <sys/user.h> #include <sys/ptrace.h> #include <sys/types.h> -#include <sys/wait.h> #include <signal.h> /* A branch trace record in perf_event. */ |