]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix bug 69872. This change adds a coredumper to vg_signal.c. This means
authorJeremy Fitzhardinge <jeremy@valgrind.org>
Sat, 13 Mar 2004 02:06:58 +0000 (02:06 +0000)
committerJeremy Fitzhardinge <jeremy@valgrind.org>
Sat, 13 Mar 2004 02:06:58 +0000 (02:06 +0000)
commit19a82f5eae6a25580c3ade18d7ce0a91fffea741
treefca8c559348a6b1901ca29529f7f7661aeae5153
parent5c2a3999d34605fb5ea92473d3002ecdcf9138d7
Fix bug 69872.  This change adds a coredumper to vg_signal.c.  This means
that when the client is killed by a coredumping signal, Valgrind will
generate the coredump itself, which is full of client state, rather than
Valgrind state; this core file will therefore be useful to the developer
in debugging their program.

The corefile generated is named vgcore.pidNNNNN (and maybe with .M on
the end in case of duplicates).  If you set a logfile with --logfile,
then this name will be used as the basename for the core file, so that
both the core and the logs will be next to each other.

Valgrind respects the RLIMIT_CORE limit when generating the file; if the
limit is set to 0, then it will not generate one.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2312
coregrind/vg_include.h
coregrind/vg_main.c
coregrind/vg_memory.c
coregrind/vg_signals.c
coregrind/vg_syscalls.c
coregrind/vg_unsafe.h
include/vg_kerneliface.h