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.
This commit is contained in:
Yao Qi 2017-01-06 14:33:01 +00:00
parent 44d6d3f933
commit 0e2d6fa6a3
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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