aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/gcore
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2004-11-20 02:30:02 +0000
committerDavid Schultz <das@FreeBSD.org>2004-11-20 02:30:02 +0000
commit6661339b82bfe60465f6bc97ea0963847f1958b4 (patch)
tree16a1fdc036d21d449ae5be41fdb03643f4a616ac /usr.bin/gcore
parentab44ebf5377f5c9f707cffe653f7368c7ada2d7a (diff)
downloadsrc-6661339b82bfe60465f6bc97ea0963847f1958b4.tar.gz
src-6661339b82bfe60465f6bc97ea0963847f1958b4.zip
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@
Notes
Notes: svn path=/head/; revision=137916
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 fac3fb9b91eb..28d764761cf4 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);