summaryrefslogtreecommitdiffstats
path: root/usr.bin/gcore
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2004-11-20 02:30:02 +0000
committerdas <das@FreeBSD.org>2004-11-20 02:30:02 +0000
commit6f196194852e6fb465d6d67c58dc6a8c83b3f710 (patch)
tree16a1fdc036d21d449ae5be41fdb03643f4a616ac /usr.bin/gcore
parent90a65a896e4175035aedc46c1a25326c1626473c (diff)
downloadFreeBSD-src-6f196194852e6fb465d6d67c58dc6a8c83b3f710.zip
FreeBSD-src-6f196194852e6fb465d6d67c58dc6a8c83b3f710.tar.gz
gcore(1) apparently still cares about a.out core dumps, so it still
needs to know that a 1-page U area is part of the dump format. Reviewed by: arch@
Diffstat (limited to 'usr.bin/gcore')
-rw-r--r--usr.bin/gcore/aoutcore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/gcore/aoutcore.c b/usr.bin/gcore/aoutcore.c
index fac3fb9..28d7647 100644
--- a/usr.bin/gcore/aoutcore.c
+++ b/usr.bin/gcore/aoutcore.c
@@ -82,6 +82,8 @@ __FBSDID("$FreeBSD$");
#include "extern.h"
+#define UAREA_PAGES 1
+
static void datadump(int, int, struct kinfo_proc *, u_long, int);
static void userdump(int, struct kinfo_proc *, u_long, int);
OpenPOWER on IntegriCloud