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 | 0e2d6fa6a38ae2b80a56d786a41d905c9541906f (patch) | |
tree | fc37523ecd0d0280ea9b775d9daa8b1e8ed5b44b /gdb | |
parent | 44d6d3f93341387bd2c95ea4c941bf99127e7389 (diff) | |
download | gdb-0e2d6fa6a38ae2b80a56d786a41d905c9541906f.zip gdb-0e2d6fa6a38ae2b80a56d786a41d905c9541906f.tar.gz gdb-0e2d6fa6a38ae2b80a56d786a41d905c9541906f.tar.bz2 |
Include gdb_proc_service.h in x86-linux-nat.h
$ make check-headers CHECK_HEADERS="x86-linux-nat.h"
...
../../binutils-gdb/gdb/x86-linux-nat.h:29:8: error: 'ps_err_e' does not name a type
extern ps_err_e x86_linux_get_thread_area (pid_t pid, void *addr,
^
gdb:
2017-01-06 Yao Qi <yao.qi@linaro.org>
* x86-linux-nat.h: Include gdb_proc_service.h.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/x86-linux-nat.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 80deeb4..fec9974 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2017-01-06 Yao Qi <yao.qi@linaro.org> + * x86-linux-nat.h: Include gdb_proc_service.h. + +2017-01-06 Yao Qi <yao.qi@linaro.org> + * ser-base.h: Include serial.h. 2017-01-06 Yao Qi <yao.qi@linaro.org> diff --git a/gdb/x86-linux-nat.h b/gdb/x86-linux-nat.h index 7d952aa..897f989 100644 --- a/gdb/x86-linux-nat.h +++ b/gdb/x86-linux-nat.h @@ -20,6 +20,8 @@ #ifndef X86_LINUX_NAT_H #define X86_LINUX_NAT_H 1 +#include "gdb_proc_service.h" /* For ps_err_e. */ + /* Helper for ps_get_thread_area. Sets BASE_ADDR to a pointer to |