search for: ustacktest

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

2007 Jan 21
3
ustack() wrong in pid return probes?
...reviously set it to the end of the * instruction to simplify %rip-relative addressing. */ rp->r_pc = pc; Is this correct? It seems like the correct ustack() output would be if the pc was set to "new_pc". Does that break invariants elsewhere in the code? I''ve included a ustackTest.c & ustack.d that demonstrates what I''m seeing. James M --------------------- ustackTest.c -------------------------- #include <stdio.h> #include <unistd.h> void d(int arg) { printf("Got arg of %d\n", arg); } void c(int arg) { d(arg+1); }...