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)
  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

index cb2e91be8d07325fd03b25358d7cfe17f02efa58..5cc6f6d65a34864643bed639add1ab5f4db29208 100644 (file)
@@ -1,3 +1,7 @@
+2020-03-17  Kamil Rytarowski  <n54@gmx.com>
+
+       * amd64-bsd-nat.c: Include amd64-bsd-nat.h".
+
 2020-03-17  Kamil Rytarowski  <n54@gmx.com>
 
        * nbsd-nat.c: Include <sys/types.h>, <sys/ptrace.h> and
index d2be4bb23996e891d198506062d0c430eff8ff5d..9a3c9c22c054ab378fea21a3749b2801593eaf64 100644 (file)
@@ -33,6 +33,7 @@
 #include "amd64-nat.h"
 #include "x86-bsd-nat.h"
 #include "inf-ptrace.h"
+#include "amd64-bsd-nat.h"
 \f
 
 /* Fetch register REGNUM from the inferior.  If REGNUM is -1, do this
This page took 0.026537 seconds and 4 git commands to generate.