Date: Sun, 30 Oct 2005 07:56:11 +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 Message-ID: <200510300756.j9U7uBYD011282@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
grehan 2005-10-30 07:56:11 UTC FreeBSD src repository Modified files: sys/powerpc/powerpc db_trace.c Log: In stack_save, stop when a trap-frame is encountered. This prevents trying to access user-space stack addresses when a user fault is encountered, as occurs when GEOM KTR code is handling a page fault and is using stack_save() to capture a trace for debug purposes. It may be possible to walk beyond the trap-frame if it is a kernel fault, as db_backtrace() does, but I don't think that complexity is needed in this routine. MFC after: 3 days Revision Changes Path 1.11 +10 -0 src/sys/powerpc/powerpc/db_trace.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510300756.j9U7uBYD011282>