aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-linux-tdep.h
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-01-06 14:33:01 +0000
committerYao Qi <yao.qi@linaro.org>2017-01-06 14:33:01 +0000
commit656731fe0f5bae5bb788b0688cc36900128fcc2f (patch)
treedd05329ae25fe33c239c267e0cd3bbd575e30b0b /gdb/ppc-linux-tdep.h
parent1ca8f924a46c620c7a7ddbd156c3a623a5a6d1fb (diff)
downloadgdb-656731fe0f5bae5bb788b0688cc36900128fcc2f.zip
gdb-656731fe0f5bae5bb788b0688cc36900128fcc2f.tar.gz
gdb-656731fe0f5bae5bb788b0688cc36900128fcc2f.tar.bz2
Include ppc-tdep.h in ppc-linux-tdep.h
$ make check-headers CHECK_HEADERS="ppc-linux-tdep.h" ... ../../binutils-gdb/gdb/ppc-linux-tdep.h:34:24: error: 'PPC_NUM_REGS' was not declared in this scope PPC_ORIG_R3_REGNUM = PPC_NUM_REGS, ^ gdb: 2017-01-06 Yao Qi <yao.qi@linaro.org> * ppc-linux-tdep.h: Include ppc-tdep.h.
Diffstat (limited to 'gdb/ppc-linux-tdep.h')
-rw-r--r--gdb/ppc-linux-tdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/ppc-linux-tdep.h b/gdb/ppc-linux-tdep.h
index f60dba2..fa8a464 100644
--- a/gdb/ppc-linux-tdep.h
+++ b/gdb/ppc-linux-tdep.h
@@ -20,6 +20,8 @@
#ifndef PPC_LINUX_TDEP_H
#define PPC_LINUX_TDEP_H
+#include "ppc-tdep.h" /* For PPC_NUM_REGS. */
+
struct regset;
/* From ppc-linux-tdep.c ... */