]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
mach: Add mach_print sycsall declaration
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 8 Jun 2016 23:43:49 +0000 (01:43 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 8 Jun 2016 23:43:49 +0000 (01:43 +0200)
* mach/mach/mach_traps.h (mach_print): Add syscall declaration.

ChangeLog
mach/mach/mach_traps.h

index 12ac302df6fd14bf47e323c9c7e501328703301b..c07772eebe2878faca1eb210c7d3dadcb6f5dc70 100644 (file)
--- 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]
index 10dd3703f2281cd939a12e6a698b4f6da660a773..614a887727a6890fbb1609b2c07f0cf8226e0d77 100644 (file)
@@ -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 */