From: Petr Vandrovec Date: Fri, 13 Oct 2006 16:42:07 +0000 (+0200) Subject: [PATCH] Fix core files so they make sense to gdb... X-Git-Tag: v2.6.19-rc3~213 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7a0d86f5aa40a2215e36fe21d7911cf718ba428;p=pandora-kernel.git [PATCH] Fix core files so they make sense to gdb... It is silly to use non-static variable for writting zeroes to the file. And more seriously, foffset in core dump file dump function was incremented too much, so some parts of core dump were shifted by size of few phdrs and notes down, so although gdb was able to load that file, it did not make lot of sense - in my test case data pages were shifted down by about 900 bytes. Signed-off-by: Petr Vandrovec Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed