diff options
author | Petr Vandrovec <petr@vandrovec.name> | 2006-10-13 12:42:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-15 14:24:49 -0400 |
commit | a7a0d86f5aa40a2215e36fe21d7911cf718ba428 (patch) | |
tree | 39c07a323bf37f9e81c0b77cc17c9ba639a43d60 /fs/sysfs/bin.c | |
parent | 0b269d8462a9f0058afb46eaee56e0732acf16c4 (diff) |
[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 <petr@vandrovec.name>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/sysfs/bin.c')
0 files changed, 0 insertions, 0 deletions