[Mono-devel-list] mono jit & gdb
Bart Van Rompaey
bart at perfectpc.be
Tue Mar 9 05:05:01 EST 2004
I'm trying to get a view insight the assembler code the Mono
jit-compiler produces.
I've been trying to get gdb to dump it, but without luck. When setting
breakpoints in the il code, and recompile into an assembly using ilasm,
i get the following when running under gdb:
[New Thread 32771 (LWP 3468)]
Method (wrapper runtime-invoke) .HelloWorld:Main (object,intptr,intptr)
emitted at 0x808ffd8 to 0x809005f [helloworld.exe]
Method .HelloWorld:Main (string[]) emitted at 0x8090070 to 0x8090083
[helloworld.exe]
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 32771 (LWP 3468)]
0x08090074 in ?? ()
(gdb) disassemble 0x8090070 0x8090083
Dump of assembler code from 0x8090070 to 0x8090083:
0x08090070Cannot access memory at address 0x8090070
So is there another way to access that memory? I noticed in an earlier
posting to this group that someone was able to disassemble after a
segmentation fault. Is there a way to manually get the mono program to
segfault?
Thanks,
Bart
--
Bart Van Rompaey <bart at perfectpc.be>
More information about the Mono-devel-list
mailing list