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

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;
}
}