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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to