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

Stefan Marr smalltalk at stefan-marr.de
Tue May 8 17:10:10 UTC 2012


On 08 May 2012, at 18:09, Mariano Martinez Peck wrote:

> Moreover, if I do a 1 tinyBenchmarks it is clear it is slow...so it is a debug VM. I don't understand why I cannot see the debug info from gdb :(

You can check whether the object files contain debug infos with `dwarfdump file.o`.

And you probably can also tell your build environment to run in verbose mode to see the actual GCC invocation to check the flags.

The typical reason why it doesn't show debug information is because you have been executing in the nirvana for a while already, and corrupted your stack.

Best regards
Stefan



-- 
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax:   +32 2 629 3525



More information about the Vm-dev mailing list