[Mono-list] Question on Unmanaged code Invocation

Shankari shankari82 at yahoo.com
Fri Oct 14 23:50:16 EDT 2005


Hello,

I have some questions in unmanaged call internals.
>From what I understood, an unmanaged code is a
function call.

To figure out where exactly the switch from managed to
unmanaged code is happening, I set a breakpoint in my
C program and tried a backtrace from it. Here is the
info I got.

(gdb) backtrace
#0  printmsg () at cprog.c:13
#1  0x0045b6ac in ?? ()
#2  0x00000001 in ?? ()
#3  0x00e65710 in ?? ()
#4  0x00450ad7 in ?? ()
#5  0x093458e0 in ?? ()
#6  0x093458c8 in ?? ()
#7  0x09389398 in ?? ()
#8  0x0002be60 in ?? ()
#9  0x00000000 in ?? ()
(gdb) n
0x0045b6ac in ?? ()
(gdb) 

I am not able to single step through the code from the
point where unmanaged code is ending.
Since the backtrace addr are not resolved, it looks
like an unmanaged call is spawned in a new thread.


Is this true? Any clarifications or information will
be greatly appreciated.

Thanks,




		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/


More information about the Mono-list mailing list