ddb(4) spoils kernel stack in CURRENT?

Dmitry Pryanishnikov dmitry at atlantis.dp.ua
Wed Dec 20 03:18:50 PST 2006


Hello!

On Tue, 19 Dec 2006, Dmitry Pryanishnikov wrote:
> I've tried to repeat this under the RELENG_6 as of 30-Oct (just removing
> kernel options COMPAT_43TTY, COMPAT_FREEBSD6, INVARIANTS, INVARIANT_SUPPORT,
> and using 'debug.kdb.enter' instead of 'debug.kdb.panic') - and kgdb unwinds
> the stack even if the dump got via typing 'panic' from ddb:

   Today I've tried this with the fresh (20-Dec) RELENG_6 and with INVARIANTS*
(so the only difference between kernel configs are CURRENT-only options
COMPAT_43TTY and COMPAT_FREEBSD6). No differences - kgdb successfully
unwinds the stack under RELENG_6. It seems that the following stands:

> So it looks like a regression in CURRENT vs RELENG_6 (either ddb 'spoils' the 
> stack somehow, or kgdb fails to unwind it).

Sincerely, Dmitry
-- 
Atlantis ISP, System Administrator
e-mail:  dmitry at atlantis.dp.ua
nic-hdl: LYNX-RIPE


More information about the freebsd-current mailing list