Commit 71c310dd authored by Kevin Modzelewski's avatar Kevin Modzelewski

Not sure why greg_t got changed from 'long' to 'long long' in newer versions...

Not sure why greg_t got changed from 'long' to 'long long' in newer versions of glibc; just cast it to be compatible
parent 76d3c0cf
......@@ -150,7 +150,7 @@ static void _thread_context_dump(int signum, siginfo_t* info, void* _context) {
if (VERBOSITY() >= 2) {
printf("in thread_context_dump, tid=%d\n", tid);
printf("%p %p %p\n", context, &context, context->uc_mcontext.fpregs);
printf("old rip: 0x%llx\n", context->uc_mcontext.gregs[REG_RIP]);
printf("old rip: 0x%lx\n", (intptr_t)context->uc_mcontext.gregs[REG_RIP]);
}
pushThreadState(tid, context);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment