|
|
1.1 root 1: .TH HANG 1
2: .CT 1 proc_man
3: .SH NAME
4: hang \(mi start a process in stopped state
5: .SH SYNOPSIS
6: .B hang
7: .I command
8: .SH DESCRIPTION
9: The given command is executed, but stopped before
10: .B main()
11: is called so that
12: the process can be picked up by a debugger.
13: .SH SEE ALSO
14: .IR pi (1),
15: .IR kill (1)
16: .SH BUGS
17: On the Sun debugged processes still share their text segments.
18: Thus if multiple instances of an executable are running, it is
19: impossible to set breakpoints. A simple fix is to copy the
20: executable to a new file and debug the new file.
21: .PP
22: Attempting to use \fIdbx\fR(1) or \fIdbxtool\fR(1) to attach
23: to a process started with \fIhang\fR will fail and inhibit all
24: future debugging on the system until it is rebooted.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.