diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-01-06 14:33:01 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-01-06 14:33:01 +0000 |
commit | 1ca8f924a46c620c7a7ddbd156c3a623a5a6d1fb (patch) | |
tree | b641b1124e6fdab6fe75b690ce7b01bc2dd59ff2 /gdb | |
parent | bc3008c48f17aa67d39e539737a999737cd697a7 (diff) | |
download | gdb-1ca8f924a46c620c7a7ddbd156c3a623a5a6d1fb.zip gdb-1ca8f924a46c620c7a7ddbd156c3a623a5a6d1fb.tar.gz gdb-1ca8f924a46c620c7a7ddbd156c3a623a5a6d1fb.tar.bz2 |
Include signal.h in nat/amd64-linux-siginfo.h
$ make check-headers CHECK_HEADERS="nat/amd64-linux-siginfo.h"
....
../../binutils-gdb/gdb/nat/amd64-linux-siginfo.h:52:39: error: 'siginfo_t' was not declared in this scope
int amd64_linux_siginfo_fixup_common (siginfo_t *native, gdb_byte *inf,
^
gdb:
2017-01-06 Yao Qi <yao.qi@linaro.org>
* nat/amd64-linux-siginfo.h: Include signal.h.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/nat/amd64-linux-siginfo.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 36a81ae..a8de405 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2017-01-06 Yao Qi <yao.qi@linaro.org> + * nat/amd64-linux-siginfo.h: Include signal.h. + +2017-01-06 Yao Qi <yao.qi@linaro.org> + * nat/aarch64-linux-hw-point.h: Include break-common.h. 2017-01-06 Yao Qi <yao.qi@linaro.org> diff --git a/gdb/nat/amd64-linux-siginfo.h b/gdb/nat/amd64-linux-siginfo.h index 452a9f1..ccc71c8 100644 --- a/gdb/nat/amd64-linux-siginfo.h +++ b/gdb/nat/amd64-linux-siginfo.h @@ -20,6 +20,8 @@ #ifndef AMD64_LINUX_SIGINFO_H #define AMD64_LINUX_SIGINFO_H 1 +#include <signal.h> /* For siginfo_t. */ + /* When GDB is built as a 64-bit application on Linux, the PTRACE_GETSIGINFO data is always presented in 64-bit layout. Since debugging a 32-bit inferior with a 64-bit GDB should look the same |