Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 1996 02:13:19 -0700 (PDT)
From:      Bruce Evans <bde>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/ddb db_command.c ddb.h
Message-ID:  <199609140913.CAA26390@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         96/09/14 02:13:18

  Modified:    sys/ddb   db_command.c ddb.h
  Log:
  Support statically attaching of ddb commands in non-ddb modules.
  The details are hidden in the DB_COMMAND(cmd_name, func_name) and
  DB_SHOW_COMMAND(cmd_name, func_name) macros.  DB_COMMAND() adds to
  the top-level ddb command table and DB_SHOW_COMMAND adds to the
  `show' subtable.  Most external commands will probably be `show'
  commands with no side effects.  They should check their pointer
  args more carefully than `show map' :-), or ddb should trap internal
  faults better (like it does for memory accesses).
  
  The vm ddb commands are temporarily unattached.
  
  ddb.h:
  Also declare `db_indent' and db_iprintf() which will replace vm's
  `indent' and iprintf().
  
  Revision  Changes    Path
  1.20      +70 -32    src/sys/ddb/db_command.c
  1.12      +41 -9     src/sys/ddb/ddb.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609140913.CAA26390>