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 | bc3008c48f17aa67d39e539737a999737cd697a7 (patch) | |
tree | 4408b78ae1d28ec6551bf4aa9157283b35a51ade /gdb/nat | |
parent | 66c80d03078b71470c66b8f00cab82d89daeea08 (diff) | |
download | gdb-bc3008c48f17aa67d39e539737a999737cd697a7.zip gdb-bc3008c48f17aa67d39e539737a999737cd697a7.tar.gz gdb-bc3008c48f17aa67d39e539737a999737cd697a7.tar.bz2 |
Include break-common.h in nat/aarch64-linux-hw-point.h
$ make check-headers CHECK_HEADERS="nat/aarch64-linux-hw-point.h"
...
../../binutils-gdb/gdb/nat/aarch64-linux-hw-point.h:169:37: error: use of enum 'target_hw_bp_type' without previous declaration
int aarch64_handle_breakpoint (enum target_hw_bp_type type, CORE_ADDR addr,
^
gdb:
2017-01-06 Yao Qi <yao.qi@linaro.org>
* nat/aarch64-linux-hw-point.h: Include break-common.h.
Diffstat (limited to 'gdb/nat')
-rw-r--r-- | gdb/nat/aarch64-linux-hw-point.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/nat/aarch64-linux-hw-point.h b/gdb/nat/aarch64-linux-hw-point.h index 4d115ba..610a5f1 100644 --- a/gdb/nat/aarch64-linux-hw-point.h +++ b/gdb/nat/aarch64-linux-hw-point.h @@ -19,6 +19,8 @@ #ifndef AARCH64_LINUX_HW_POINT_H #define AARCH64_LINUX_HW_POINT_H 1 +#include "break-common.h" /* For enum target_hw_bp_type. */ + /* Macro definitions, data structures, and code for the hardware breakpoint and hardware watchpoint support follow. We use the following abbreviations throughout the code: |