Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2009 10:31:32 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Menshikov Konstantin <kostjn@peterhost.ru>
Subject:   Re: Inline function (difficult  debug)
Message-ID:  <200906081031.32271.jhb@freebsd.org>
In-Reply-To: <4A293302.5040306@peterhost.ru>
References:  <4A2792B7.5010006@peterhost.ru> <200906050938.25706.jhb@freebsd.org> <4A293302.5040306@peterhost.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 05 June 2009 11:00:18 am Menshikov Konstantin wrote:
> Frame 11
> (kgdb) f 11
> #11 0xffffffff804b3db8 in witness_checkorder (lock=0xffffffff809fb8b0, 
> flags=9,
>     file=0xffffffff807aeb30 "/usr/src/sys/dev/syscons/syscons.c", 
> line=2519) at /usr/src/sys/kern/subr_witness.c:1126
> 1126            kdb_enter_why(KDB_WHY_WITNESS, __func__);
> (kgdb) p *lock
> $6 = {lo_name = 0xffffffff807aebc5 "scrlock", lo_type = 
> 0xffffffff807aebc5 "scrlock", lo_flags = 8585216,
>   lo_witness_data = {lod_list = {stqe_next = 0xffffffff80a25320}, 
> lod_witness = 0xffffffff80a25320}}
> (kgdb) p *lock1
> $7 = {li_lock = 0xffffffff80a12db8, li_file = 0xffffffff807c22f5 
> "/usr/src/sys/kern/kern_sig.c", li_line = 2291,
>   li_flags = 65536}

Ok, can you 'p *lock1->li_lock'?

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906081031.32271.jhb>