From: Will Newton Date: Wed, 28 Aug 2013 14:09:31 +0000 (+0000) Subject: gdb/common/linux-ptrace.c: Fix build on non-Intel architectures. X-Git-Tag: binutils-2_24-branchpoint~153 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59ee9f94e5ff96d5a3169cb2333bdf7acbf39357;p=platform%2Fupstream%2Fbinutils.git gdb/common/linux-ptrace.c: Fix build on non-Intel architectures. As uintptr_t is used stdint.h must be included on all architectures. 2013-08-28 Will Newton * common/linux-ptrace.c: Include stdint.h unconditionally. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3f63836..db977a8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-08-28 Will Newton + + * common/linux-ptrace.c: Include stdint.h unconditionally. + 2013-08-28 Jan Kratochvil Code cleanup. diff --git a/gdb/common/linux-ptrace.c b/gdb/common/linux-ptrace.c index a4a2ca3..3a8e25e 100644 --- a/gdb/common/linux-ptrace.c +++ b/gdb/common/linux-ptrace.c @@ -30,6 +30,8 @@ #include "gdb_assert.h" #include "gdb_wait.h" +#include + /* Stores the currently supported ptrace options. A value of -1 means we did not check for features yet. A value of 0 means there are no supported features. */ @@ -64,7 +66,6 @@ extern void (linux_ptrace_test_ret_to_nx_instr) (void); #include #include #include -#include #endif /* defined __i386__ || defined __x86_64__ */