Tom Birch wrote: > I'm making VBox panic in various ways, and the panic backtraces have 3 > types of addresses: > > * Functions in xnu which can easily by be converted to a symbol in gdb > * Functions in VBoxDrv.kext, which after a bit of work can also be > converted to symbols. Is there a config option to spit out debug > symbols so the kext plays well with gdb's add-kext feature? > * Functions in R0 that are injected into kernel space and linked > dynamically by the VBoxDrv.kext > > It's this third type which I'm having trouble with. Has anyone solved > this? Is there some kind of way to map these addresses back to offsets > in the dynamic libs from which the R0 code came? >
The VBox.log will contain the address of all the loaded VMMR0.r0/VBoxDD*.r0 modules. I usually use otool, testcase/tstLdr-3 or nm to correlate panic addresses and symbols. -- Kind regards / Mit freundlichen Gruessen / Vennlig hilsen, Knut -- Sun Microsystems GmbH Knut St. Osmundsen Werkstrasse 24 Senior Staff Engineer, VirtualBox 71384 Weinstadt, Germany mailto:[email protected] ================================================ Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten Amtsgericht Muenchen: HRB 161028 Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel Vorsitzender des Aufsichtsrates: Martin Haering ================================================ _______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
