cvs commit: src/sys/ddb db_command.c

Konstantin Belousov kib at FreeBSD.org
Thu Nov 2 11:47:39 UTC 2006


kib         2006-11-02 11:47:38 UTC

  FreeBSD src repository

  Modified files:
    sys/ddb              db_command.c 
  Log:
  On trap while inside ddb, the trap handler calls kdb_reenter(), that
  longjmp to the default context. As result, "alltrace" command may
  be prematurely terminated (without error message). This is happens,
  for instance, when system is low on memory and referenced page in
  kernel-mode thread stack is swapped out.
  
  Protect "alltrace" against termination on trap by setting temporary
  kdb_jmpbuf context.
  
  Submitted by:   Peter Holm
  
  Revision  Changes    Path
  1.72      +14 -6     src/sys/ddb/db_command.c


More information about the cvs-src mailing list