ttrace.2 (2010 09)
t
ttrace(2) ttrace(2)
[EACCES] The pid argument to the TT_PROC_ATTACH
or TT_PROC_ATTACH_NOSTOP
is
the pid of the invoker.
[EACCES] The process identified by the pid argument to
TT_PROC_ATTACH
or
TT_PROC_ATTACH_NOSTOP
is exiting.
[EACCES] The process is already being traced.
[EAGAIN] Unable to attach to a process. This error can only be encountered when attaching
to a process in the middle of an
exec() syscall.
[EDEADLK] One thread of a multithreaded process (p1) has performed a
vfork(), the child
(p2) is stopped at the vfork event and the debugger is attempting to stop or resume
a thread in the parent process (p1).
[EFAULT] Invalid user address.
[EINTR] Cannot suspend process or attach is interrupted (
TT_PROC_ATTACH,
TT_PROC_ATTACH_NOSTOP
).
[EINVAL] request is an illegal number.
[EINVAL] A non-zero value has been passed in a parameter expecting a zero value or vice-
versa.
[EINVAL] The data argument of
TT_PROC_SETTRC
or TT_PROC_ATTACH or
TT_PROC_ATTACH_NOSTOP
is not TT_VERSION.
[EINVAL] Size too large for data transfer.
[EINVAL] Invalid signal number.
[EINVAL] Misaligned request or not a word multiple (
TT_PROC_RDTEXT
,
TT_PROC_RDTEXT_NOATTACH
, TT_PROC_WRTEXT).
[EINVAL] Invalid signal (
TT_LWP_CONTINUE
, TT_LWP_SINGLE).
[EINVAL] Invalid offset (
TT_LWP_RUREGS
, TT_LWP_RUREGS_NOATTACH,
TT_LWP_WUREGS).
[EINVAL] An offset in the
save_state structure is not word-aligned.
[EINVAL] An invalid register is targeted by
TT_LWP_WUREGS.
[EINVAL] The core file argument to a TT_PROC_CORE request exists and is not a regular file.
[EINVAL] The data argument to
TT_VEC_GENERIC
is greater than TT_VEC_MAX.
[EINVAL] An invalid request is specified in the
ttv_req field of a tt_vec_t passed to
TT_VEC_GENERIC.
[EINVAL] Undocumented fields in a
tt_vec_t passed to
TT_VEC_GENERIC are not 0
(zero).
[EINVAL] The
ttvr_count or ttvr_ret1 field of a tt_vec_res_t passed to
TT_VEC_GENERIC is NULL.
[EINVAL] The size argument to a
TT_PROC_GET_PATHNAME is larger than
MAXPATHLEN.
[ENODATA] Data in this register is not readable or not writable at this time.
[ENOENT] The directory portion of the core file argument to a
TT_PROC_CORE request does
not exist.
[ENOMEM] System is out of memory.
[EPROTO] Attempting to stop a thread already stopped by the debugger.
[EPROTO] Attempting to resume a thread not stopped by the debugger.
[EPROTO] Attempting to read or write registers while the thread is not stopped.
[EPROTO] Attempting to obtain the state of a thread which was not stopped by the debugger.
[EPROTO] Invoked before an exec event took place (
TT_PROC_GET_PATHNAME).
[EPROTO] The process is exiting and the request is not allowed in this condition.
16 Hewlett-Packard Company − 16 − HP-UX 11i Version 3: September 2010