From: Royce M. I. <ro...@ev...> - 2002-07-13 14:08:41
|
Is there any problem with using loadros with the new symbols? How do you configure ReactOS for debugging? Is it the same as removing NDEBUG from the source files? ----- Original Message ----- From: "Casper Hornstrup" <ch...@us...> To: <rea...@li...> Sent: Saturday, July 13, 2002 8:18 AM Subject: [ros-kernel] More useful stack traces > 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 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > reactos-kernel mailing list > rea...@li... > https://lists.sourceforge.net/lists/listinfo/reactos-kernel > |