diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-03-16 18:26:29 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-03-17 10:24:08 +0100 |
commit | 9e38d619101a7637c9aba3f722690bef127fa6a6 (patch) | |
tree | cefce1125adccf02fb92938ff53dfccc112b9401 /gdb/amd64-bsd-nat.c | |
parent | a2ecbe9fb7355698aad97841f9717cdfd7096d95 (diff) | |
download | gdb-9e38d619101a7637c9aba3f722690bef127fa6a6.zip gdb-9e38d619101a7637c9aba3f722690bef127fa6a6.tar.gz gdb-9e38d619101a7637c9aba3f722690bef127fa6a6.tar.bz2 |
Include missing header to get missing declarations
CXX amd64-bsd-nat.o
amd64-bsd-nat.c:42:1: error: no previous declaration void amd64bsd_fetch_inferior_registers(regcache*, [-Werror=missing-declarations]
amd64bsd_fetch_inferior_registers (struct regcache *regcache, int regnum)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
amd64-bsd-nat.c:118:1: error: no previous declaration void amd64bsd_store_inferior_registers(regcache*, [-Werror=missing-declarations]
amd64bsd_store_inferior_registers (struct regcache *regcache, int regnum)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Detected on NetBSD/amd64 9.99.49.
gdb/ChangeLog:
* amd64-bsd-nat.c: Include amd64-bsd-nat.h".
Diffstat (limited to 'gdb/amd64-bsd-nat.c')
-rw-r--r-- | gdb/amd64-bsd-nat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/amd64-bsd-nat.c b/gdb/amd64-bsd-nat.c index d2be4bb..9a3c9c2 100644 --- a/gdb/amd64-bsd-nat.c +++ b/gdb/amd64-bsd-nat.c @@ -33,6 +33,7 @@ #include "amd64-nat.h" #include "x86-bsd-nat.h" #include "inf-ptrace.h" +#include "amd64-bsd-nat.h" /* Fetch register REGNUM from the inferior. If REGNUM is -1, do this |