There's an app I'm debugging that I want to use the core dump of in GDB. I followed some instructions to enable coredumps in /etc/hostconfig, where I changed:
COREDUMPS=-NO-
to:
COREDUMPS=-YES-
According to the check in /etc/rc.common:
Code:
##
# Enable coredumps if requested.
##
if [ "${COREDUMPS:=-NO-}" = "-YES-" ]; then
ulimit -c unlimited
fi
That should've enabled it!
After a reboot, I tried to give it a shot. NOPE. No core dumps. In fact, ulimit -a gives me:
core file size (blocks, -c) 0
Implying that it is still set as 0.
Likewise, even if I ulimit -c 65535 or some other value, and
then try to run a program that crashes and dumps core, it
still doesn't throw anything in /cores.
What is wrong with Panther?
Using 10.3.1,, latest dev tools.