PERFORCE change 207107 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Wed Feb 29 20:21:16 UTC 2012


http://p4web.freebsd.org/@@207107?ac=10

Change 207107 by gonzo at 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);


More information about the p4-projects mailing list