[Vm-dev] VM is being buil without debug info?

Mariano Martinez Peck marianopeck at gmail.com
Tue May 8 14:22:11 UTC 2012


Hi guys. I am building a VM with debug mode:

CogCocoaIOSConfig new
       generateForDebug;
       generateSources; generate.


So the flags it should use are: '-g3' '-O0' '-DDEBUGVM=1'

Now I am debugging a crash with gdb but bt shows just '??':


Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000080c
0x1f4b0f77 in ?? ()
(gdb) bt
#0  0x1f4b0f77 in ?? ()
#1  0x1f4c2d6e in ?? ()
#2  0x1f4ac10e in ?? ()
#3  0x1f4adc81 in ?? ()
#4  0x1f4b9196 in ?? ()
#5  0x1f4b922e in ?? ()
#6  0x1f4b7966 in ?? ()
#7  0x1f4b4b8f in ?? ()
#8  0x1f4b491f in ?? ()
#9  0x1f4b4532 in ?? ()
#10 0x1f4b463b in ?? ()
#11 0x1f400cce in ?? ()
#12 0x1f4b45eb in ?? ()
#13 0x1f4b44b7 in ?? ()
#14 0x1f4007c8 in ?? ()
#15 0x1f4a9646 in ?? ()
#16 0x1f4b723b in ?? ()
#17 0x1f400cce in ?? ()
#18 0x1f4b71ea in ?? ()
#19 0x1f4b6b22 in ?? ()
#20 0x1f4a956d in ?? ()
(gdb)


any idea? does it mean that the VM is being built without the debug info?

thanks

-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120508/cbad0aa5/attachment-0001.htm


More information about the Vm-dev mailing list