Fix compile in the !HAVE_KINFO_GETVMMAP case.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 9 Aug 2017 22:24:46 +0000 (15:24 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 9 Aug 2017 22:24:46 +0000 (15:24 -0700)
commit142311d325b962730f7d0247cc456f06e5c7b62b
tree1f9946e07b0268ea2b90c6583d84b9b5a5c55df2
parent978c05401b0f0ac7a94cca7db19b1dec0c5bd698
Fix compile in the !HAVE_KINFO_GETVMMAP case.

gdb/ChangeLog:

* fbsd-nat.c: [!HAVE_KINFO_GETVMMAP]: Include <sys/user.h> and
"filestuff.h".
(fbsd_find_memory_regions): Fix `mapfile' initialization.
gdb/ChangeLog
gdb/fbsd-nat.c