1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00

Give up on the backtrace if the calculated pc isn't in region 7.

This commit is contained in:
Doug Rabson 2001-09-29 10:22:57 +00:00
parent 3cf08d5025
commit f184b2654b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84116

View File

@ -101,7 +101,7 @@ db_stack_trace_cmd(db_expr_t addr, boolean_t have_addr, db_expr_t count, char *m
callpc = newpc;
sol = newsol;
sof = newsof;
if (!callpc)
if ((callpc >> 61) != 7)
break;
}
}