Include missing header to get missing declarations
authorKamil Rytarowski <n54@gmx.com>
Mon, 16 Mar 2020 17:26:29 +0000 (18:26 +0100)
committerKamil Rytarowski <n54@gmx.com>
Tue, 17 Mar 2020 09:24:08 +0000 (10:24 +0100)
commit9e38d619101a7637c9aba3f722690bef127fa6a6
treecefce1125adccf02fb92938ff53dfccc112b9401
parenta2ecbe9fb7355698aad97841f9717cdfd7096d95
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".
gdb/ChangeLog
gdb/amd64-bsd-nat.c