freebsd-skq/usr.bin/gcore
peter bf1d6ea4cd Make gcore(1) 64 bit safe. It was trying to parse the /proc/*/map file
using sscanf and truncating the start/end entries by writing them with a
32 bit int descriptor (%x).  The upper bytes of the 64 bit vm_offset_t
variables (for little endian machines) were uninitialized.  For big endian
machines, things would have been worse because it was storing the 32 bit
value in the upper half of the 64 bit variable.  I've changed it to use
%lx and long types.  That should work on all our platforms.
2006-03-25 01:14:20 +00:00
..
elfcore.c Make gcore(1) 64 bit safe. It was trying to parse the /proc/*/map file 2006-03-25 01:14:20 +00:00
extern.h
gcore.1 Deal with double whitespace. 2004-07-03 00:24:45 +00:00
gcore.c
Makefile Remove a.out support from gcore(1). 2004-11-27 06:46:48 +00:00