2 ms·
How do you get the PC of a thread in a POSIX userland without sending it a signal? ptrace(PTRACE_GETREGS), I guess?
by pcwalton 11y ago
How do you get the PC of a thread in a POSIX userland without sending it a signal? ptrace(PTRACE_GETREGS), I guess?
- lgg 11y agoTotally platform specific. On OS X you generally use thread_get_state().