printsigval(const siginfo_t *sip)
{
tprintf(", si_value={int=%d, ptr=", sip->si_int);
- printaddr((kernel_ureg_t) sip->si_ptr);
+ printaddr(ptr_to_kulong(sip->si_ptr));
tprints("}");
}
case SIGILL: case SIGFPE:
case SIGSEGV: case SIGBUS:
tprints(", si_addr=");
- printaddr((kernel_ureg_t) sip->si_addr);
+ printaddr(ptr_to_kulong(sip->si_addr));
break;
case SIGPOLL:
switch (sip->si_code) {
syscall_name((unsigned) sip->si_syscall);
tprints(", si_call_addr=");
- printaddr((kernel_ureg_t) sip->si_call_addr);
+ printaddr(ptr_to_kulong(sip->si_call_addr));
tprints(", si_syscall=");
if (scname)
tprintf("__NR_%s", scname);
}
MPERS_PRINTER_DECL(void, printsiginfo_at,
- struct tcb *const tcp, const kernel_ureg_t addr)
+ struct tcb *const tcp, const kernel_ulong_t addr)
{
siginfo_t si;
}
MPERS_PRINTER_DECL(void, print_siginfo_array, struct tcb *const tcp,
- const kernel_ureg_t addr, const kernel_ureg_t len)
+ const kernel_ulong_t addr, const kernel_ulong_t len)
{
siginfo_t si;