Why does the processes get an underscore attachd to them?

Locked
coffeenet
Posts: 29
Joined: Mon Jan 10, 2011 6:05 am

Why does the processes get an underscore attachd to them?

Post by coffeenet »

Hi,
I'm using the debugger, and at a breakpoint now. In the call stack, _Com_Frame() exists instead of Com_Frame(). I try to double click _Com_Frame() but the compiler says that it doesn't have the code for it.
What to do?
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Why does the processes get an underscore attachd to them?

Post by ^misantropia^ »

The underscore? To prevent linker errors when you redefine libc functions like printf().

Re debugging: you need to compile a debug build. That is, a binary with debug symbols.
coffeenet
Posts: 29
Joined: Mon Jan 10, 2011 6:05 am

Re: Why does the processes get an underscore attachd to them?

Post by coffeenet »

I was in debugging mode (compiled a debug build) when I made this posted actually. :)
I did things all over again. And, it seems that things are alright for now. I will bump if I find any trouble again.
Thanks for your reply.
Locked