Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Feb 2012 20:21:15 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 207107 for review
Message-ID:  <201202292021.q1TKLFVs064839@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@207107?ac=10

Change 207107 by gonzo@gonzo_thinkpad on 2012/02/29 20:20:30

	- Stop when there is userland address in backtrace

Affected files ...

.. //depot/projects/dtrace-mips/sys/mips/mips/backtrace.c#4 edit

Differences ...

==== //depot/projects/dtrace-mips/sys/mips/mips/backtrace.c#4 (text+ko) ====

@@ -254,6 +254,9 @@
 		}
 	}
 
+	if (!MIPS_IS_VALID_KERNELADDR(ra)) 
+		return (-1);
+
 	*pc = ra;
 	*sp += stksize;
 	return (0);



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