debug.lisp 464 B

1234567891011121314151617
  1. (in-package :hurd-translator)
  2. (defun show-table (fun module)
  3. "Shows a routine table from the module 'module' using 'fun' to show it."
  4. (let ((module-name (string-downcase (string module))))
  5. (format t "Table for ~a routines:~%" module-name)
  6. (funcall fun)
  7. (format t "~%")))
  8. (defun show-tables ()
  9. "Display interface routines table at the C level."
  10. (show-table #'%get-io-info 'io)
  11. (show-table #'%get-fs-info 'fs)
  12. (show-table #'%get-fsys-info 'fsys))