]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the generation of coredumps. We did not take the dirty registers
authorMarcel Moolenaar <marcel@FreeBSD.org>
Fri, 15 Aug 2003 05:52:48 +0000 (05:52 +0000)
committerMarcel Moolenaar <marcel@FreeBSD.org>
Fri, 15 Aug 2003 05:52:48 +0000 (05:52 +0000)
commit1fdb0ba9bb5314db89cafed774d00936a4ca0858
tree033489340211683b6f1208281c3ac50631101cc5
parentb00555136c7caf69cc4ee3512072d0605ec26f67
Fix the generation of coredumps. We did not take the dirty registers
that were on the kernel stack into account. For now we write them
out to the register stack of the process before creating the dump.
This however is not the final solution. The problem is that we may
invalidate the coredump by overwriting vital information due to an
invalid backing store pointer. Instead we need to write the dirty
registers to an unused region of VM which will result in a seperate
segment in the coredump. For now we can at least get to all the
registers from a coredump.
sys/ia64/ia64/elf_machdep.c