From: David W. <we...@cw...> - 2002-06-30 09:09:04
|
On Sat, Jun 29, 2002 at 01:55:16PM +0200, Casper Hornstrup wrote: > I don't like having one extra file per image just for this. > For ntoskrnl, the extra debugging information is ~1MB so I think it is unavoidable. > GDB understands stabs sections perfectly, but for "normal" users and > some betatesters, using a debugger is too complicated and currently > requires two machines. > I agree that we should make it easier for users to report problems. A different approach would to be to add a core dump facility; the basic version would dump only the trap frame and a few other bits of information. It could then be decoded offline with addr2line. > I tried using ZwOpenFile() (with SHARE_READ_ACCESS) to open the image, > but all I got was STATUS_UNSUCCESSFUL. The image is already mapped at > this point, but should I not be able to do this (this was with > smss.exe)? > I don't know why that would fail. Vfatfs doesn't even seem to check the sharing mode. |