X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Friscv-linux-tdep.c;h=adeb25441da2816b8d11b280204dde79f0517e49;hb=099a6354dab7e74c990501929f383394fc8efd02;hp=91061c5b3e90b0cac5e4c15ad440e1cebf4e3bf8;hpb=617126bc8ae3c83b565aef1a454742c8a7237c14;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/riscv-linux-tdep.c b/gdb/riscv-linux-tdep.c index 91061c5b3e..adeb25441d 100644 --- a/gdb/riscv-linux-tdep.c +++ b/gdb/riscv-linux-tdep.c @@ -25,6 +25,7 @@ #include "regset.h" #include "tramp-frame.h" #include "trad-frame.h" +#include "gdbarch.h" /* Define the general register mapping. The kernel puts the PC at offset 0, gdb puts it at offset 32. Register x0 is always 0 and can be ignored.