lwpid_t lwp = ptid_get_lwp (inferior_ptid);
if (ttrace (TT_LWP_RUREGS, pid, lwp, addr, size, (uintptr_t)buf) == -1)
- error ("Couldn't read register %s (#%d): %s",
+ error (_("Couldn't read register %s (#%d): %s"),
REGISTER_NAME (regnum), regnum, safe_strerror (errno));
}
#else
errno = 0;
buf[i] = ptrace (PT_RUREGS, pid, (PTRACE_TYPE_ARG3) addr, 0, 0);
if (errno != 0)
- error ("Couldn't read register %s (#%d): %s",
+ error (_("Couldn't read register %s (#%d): %s"),
REGISTER_NAME (regnum), regnum, safe_strerror (errno));
addr += sizeof (PTRACE_TYPE_RET);
lwpid_t lwp = ptid_get_lwp (inferior_ptid);
if (ttrace (TT_LWP_WUREGS, pid, lwp, addr, size, (uintptr_t)buf) == -1)
- error ("Couldn't write register %s (#%d): %s",
+ error (_("Couldn't write register %s (#%d): %s"),
REGISTER_NAME (regnum), regnum, safe_strerror (errno));
}
#else
errno = 0;
ptrace (PT_WUREGS, pid, (PTRACE_TYPE_ARG3) addr, buf[i], 0);
if (errno != 0)
- error ("Couldn't write register %s (#%d): %s",
+ error (_("Couldn't write register %s (#%d): %s"),
REGISTER_NAME (regnum), regnum, safe_strerror (errno));
addr += sizeof (PTRACE_TYPE_RET);
hppa_hpux_child_can_run (void)
{
/* This variable is controlled by modules that layer their own
- process structure atop that provided here. hpux-thread.c does
- this because of the HP-UX user-mode level thread model. */
+ process structure atop that provided here. The code in
+ hpux-thread.c does this to support the HP-UX user-mode DCE
+ threads. */
return !child_suppress_run;
}
\f