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 <will.newton@linaro.org> * common/linux-ptrace.c: Include stdint.h unconditionally.
This commit is contained in:
parent
c8a2a41934
commit
59ee9f94e5
|
@ -1,3 +1,7 @@
|
||||||
|
2013-08-28 Will Newton <will.newton@linaro.org>
|
||||||
|
|
||||||
|
* common/linux-ptrace.c: Include stdint.h unconditionally.
|
||||||
|
|
||||||
2013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
Code cleanup.
|
Code cleanup.
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
#include "gdb_assert.h"
|
#include "gdb_assert.h"
|
||||||
#include "gdb_wait.h"
|
#include "gdb_wait.h"
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
/* Stores the currently supported ptrace options. A value of
|
/* Stores the currently supported ptrace options. A value of
|
||||||
-1 means we did not check for features yet. A value of 0 means
|
-1 means we did not check for features yet. A value of 0 means
|
||||||
there are no supported features. */
|
there are no supported features. */
|
||||||
|
@ -64,7 +66,6 @@ extern void (linux_ptrace_test_ret_to_nx_instr) (void);
|
||||||
#include <sys/reg.h>
|
#include <sys/reg.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
#endif /* defined __i386__ || defined __x86_64__ */
|
#endif /* defined __i386__ || defined __x86_64__ */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue