search for: db_getstackpointer

Displaying 1 result from an estimated 1 matches for "db_getstackpointer".

2015 Jan 04
3
[LLVMdev] Writing my own debugger... use __builtin_frame_address or is there something better?
...o make my own debugger"... "all I need is the ability to get the current variables off the current function... and probably the variables from the calling functions... as long as I can do THAT... I can do the rest myself". Something like this: int Func(Type1* self, Type2* P) { DB_GetStackPointer(1); // "DB_" means its a function for debugging the code // So we save the current stack pointer to a global variable // and tell the debugger that we are on line 1 of the current file's source code. int N = 0; DB_Line(2);...