From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 8 15:33:49 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B72B3106566C for ; Mon, 8 Jun 2009 15:33:49 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 893258FC1A for ; Mon, 8 Jun 2009 15:33:49 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 3E9AE46B4C; Mon, 8 Jun 2009 11:33:49 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 596AF8A06B; Mon, 8 Jun 2009 11:33:48 -0400 (EDT) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Mon, 8 Jun 2009 10:31:32 -0400 User-Agent: KMail/1.9.7 References: <4A2792B7.5010006@peterhost.ru> <200906050938.25706.jhb@freebsd.org> <4A293302.5040306@peterhost.ru> In-Reply-To: <4A293302.5040306@peterhost.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906081031.32271.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 08 Jun 2009 11:33:48 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Menshikov Konstantin Subject: Re: Inline function (difficult debug) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 15:33:50 -0000 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