Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: dsl
Date: Fri Jan 3 20:52:47 UTC 2014
Modified Files:
src/sys/kern: core_elf32.c kern_core.c
src/sys/sys: exec.h exec_elf.h
Log Message:
Instead of generating all the 'note' sections twice (and hoping that the
'fast path' size on the first path matches the actual size on the second)
save all the notes (mostly the cpu registers for all the LWPs) in
malloced memory on the first pass.
Sanity check that the number of memory segments matches written matches
the count obtained earlier. If gcore() is used they could differ.
(Not sure that returning ENOMEM is ideal, but it is better than a crash.)
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/kern/core_elf32.c
cvs rdiff -u -r1.21 -r1.22 src/sys/kern/kern_core.c
cvs rdiff -u -r1.143 -r1.144 src/sys/sys/exec.h
cvs rdiff -u -r1.135 -r1.136 src/sys/sys/exec_elf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index