This is the mail archive of the
glibc-cvs@sourceware.cygnus.com
mailing list for the glibc project.
libc/hurd report-wait.c
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/hurd report-wait.c
- From: roland at sourceware dot cygnus dot com
- Date: 13 Nov 1999 23:52:07 -0000
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sourceware.cygnus.com 99/11/13 15:52:07
Modified files:
hurd : report-wait.c
Log message:
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.
* hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
MACH_PORT_DEAD specially.