Fix DDB backtrace involving kernel modules.
We can no longer assume that all valid program counter values reside within the kernel object file.
This commit is contained in:
parent
e3ef0d2fcf
commit
7ee44a58d7
@ -181,7 +181,7 @@ loop:
|
||||
}
|
||||
/* check for bad PC */
|
||||
/*XXX MIPS64 bad: These hard coded constants are lame */
|
||||
if (pc & 3 || pc < (uintptr_t)0x80000000 || pc >= (uintptr_t)edata) {
|
||||
if (pc & 3 || pc < (uintptr_t)0x80000000) {
|
||||
(*printfn) ("PC 0x%x: not in kernel\n", pc);
|
||||
ra = 0;
|
||||
goto done;
|
||||
|
Loading…
x
Reference in New Issue
Block a user