Joost van der Sluis wrote:
On Wed, 2011-01-12 at 23:52 +0000, Martin wrote:
Has dwarf 2 changed ?
>> TCmdLineDebugger.SendCmdLn "-data-evaluate-expression
^^shortstring(^POINTER($eax)^+12)^^"
<< TCmdLineDebugger.ReadLn "^done,value="#0<repeats 20 times>""
<< TCmdLineDebugger.ReadLn "(gdb) "
You do realize that this is an hack? (I partly wrote it)
It looks much like I first wrote it :)
Anyway, without rtl debug info this is the only way to retrieve the
classname of the exception object.
It could also be that the location of the exception-name has been
changed by something. This hack doesn't use any debug-information. Only
the definitions of a shortstring and pointer.
I don't think that the exception name location is changed, it would mean
that the VMT layout has changed.
Marc
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel