mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 21:26:51 +00:00
GC some debugging code that's been #if 0'ed since we got the file from
NetBSD
This commit is contained in:
parent
8d64298407
commit
29b3d1c151
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75722
|
@ -327,14 +327,6 @@ trap(a0, a1, a2, entry, framep)
|
||||||
sticks = p->p_sticks;
|
sticks = p->p_sticks;
|
||||||
mtx_unlock_spin(&sched_lock);
|
mtx_unlock_spin(&sched_lock);
|
||||||
p->p_md.md_tf = framep;
|
p->p_md.md_tf = framep;
|
||||||
#if 0
|
|
||||||
/* This is to catch some weird stuff on the UDB (mj) */
|
|
||||||
if (framep->tf_regs[FRAME_PC] > 0 &&
|
|
||||||
framep->tf_regs[FRAME_PC] < 0x120000000) {
|
|
||||||
printf("PC Out of Whack\n");
|
|
||||||
printtrap(a0, a1, a2, entry, framep, 1, user);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
} else {
|
} else {
|
||||||
sticks = 0; /* XXX bogus -Wuninitialized warning */
|
sticks = 0; /* XXX bogus -Wuninitialized warning */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue