1999-11-09 Roland McGrath <roland@baalperazim.frob.com>
authorroland <roland>
Sat, 13 Nov 1999 23:52:20 +0000 (23:52 +0000)
committerroland <roland>
Sat, 13 Nov 1999 23:52:20 +0000 (23:52 +0000)
commit7ac939b6912ce81e9e0acabdda291722b97bc43e
treecb0d9a8d8676c2104b0987903ba8cb488ca71e29
parentc98a6a2ac82de1a9b174b084b9ac68c25a971689
1999-11-09  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/report-wait.c (describe_port): Return char * and use __stpcpy
to return the location of the null byte written into the string.
(describe_number): Likewise.
(describe_number): Remove assert, not always used with #.
If FLAVOR is null, don't use it.
(describe_number): Take signed argument and print a - if negative.
(_S_msg_report_wait): Report system call number for system calls that
aren't mach_msg.  Soup up reporting for mach_msg: If destination port
matches SS->intr_port, bracket port description with [...] to indicate
a Hurd interruptible RPC; if destination port is null, examine the
receive port and report that state; if receive port is also null,
check for timeout and report its value.
* sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
zero iff we managed to examine the stack; take new args RCV_NAME,
SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
sysdeps/mach/hurd/i386/intr-msg.h