cvs commit: src/sys/powerpc/powerpc db_trace.c trap_subr.S

Peter Grehan grehan at FreeBSD.org
Fri Dec 23 05:05:30 PST 2005


grehan      2005-12-23 13:05:28 UTC

  FreeBSD src repository

  Modified files:
    sys/powerpc/powerpc  db_trace.c trap_subr.S 
  Log:
  Mark the return address of the call to ast() in the generic trap
  handling code so the stack trace unwinders don't start trying to
  go into user-space.
  
  Found by trying to create core dumps with a KTR_COMPILE/KTR_GEOM
  kernel, which results in a stack_save() call in the ast() coredump
  path - this created a panic, and then calling 'trace' in ddb resulted
  in the black screen of death after printing out most of the backtrace.
  
  Revision  Changes    Path
  1.12      +9 -5      src/sys/powerpc/powerpc/db_trace.c
  1.16      +2 -0      src/sys/powerpc/powerpc/trap_subr.S


More information about the cvs-src mailing list