diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-06-09 01:43:49 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-06-09 01:43:49 +0200 |
commit | 7cda82594a61836de25885f5d09afb3e5929a0a1 (patch) | |
tree | 7540550a3fa1f65146597117945687be8975835b | |
parent | 8c010e2f7135902b6dc90f0577573dacbb54cde9 (diff) | |
download | glibc-7cda82594a61836de25885f5d09afb3e5929a0a1.tar.gz glibc-7cda82594a61836de25885f5d09afb3e5929a0a1.tar.xz glibc-7cda82594a61836de25885f5d09afb3e5929a0a1.zip |
mach: Add mach_print sycsall declaration
* mach/mach/mach_traps.h (mach_print): Add syscall declaration.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | mach/mach/mach_traps.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 12ac302df6..c07772eebe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org + + * mach/mach/mach_traps.h (mach_print): Add syscall declaration. + 2016-06-08 Joseph Myers <joseph@codesourcery.com> [BZ #20229] diff --git a/mach/mach/mach_traps.h b/mach/mach/mach_traps.h index 10dd3703f2..614a887727 100644 --- a/mach/mach/mach_traps.h +++ b/mach/mach/mach_traps.h @@ -75,5 +75,10 @@ kern_return_t __thread_switch (mach_port_t new_thread, kern_return_t evc_wait (unsigned int event); kern_return_t __evc_wait (unsigned int event); +/* Display a null-terminated character string on the Mach console. This + system call is meant as a debugging tool useful to circumvent messaging + altogether. */ + +extern void mach_print(const char *s); #endif /* mach/mach_traps.h */ |