From: Casper H. <ch...@us...> - 2002-07-13 13:28:25
|
I have just committed a patch that enables ReactOS to understand .stabs symbols (only line number, function names, and source file names though, but this is enough to get useful stack traces when not using a debugger). When ReactOS is configured for debugging, ReactOS will try to load symbols for every module it loads. E.g. if ReactOS loads ndis.sys, it will also load \SystemRoot\symbols\ndis.sym if this file exists. The .sym files generated by ReactOS dating before today are text files. The new .sym files are binary files extracted by the tools/rsym build utility from the non-stripped module image. If you have old .sym text files in your ReactOS installation, you had better remove them on your next update or expect trouble. Symbol files for user-mode modules are shared across processes and cached, so the performance degration of using the symbol files is not significant. A new FreeLoader is not required, but necesarry if you want to get useful stack traces for modules passed by FreeLoader. I have made a new FreeLoader snapshot available at: http://reactos.wox.org/download.php?id=24 and sources are available here: http://reactos.wox.org/download.php?id=25 Happy bug-hunting to you all ;-) Casper |