Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2005 13:05:28 +0000 (UTC)
From:      Peter Grehan <grehan@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/powerpc/powerpc db_trace.c trap_subr.S
Message-ID:  <200512231305.jBND5Sx4017730@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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