From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 16 19:50:43 2011 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 4D5431065672 for ; Sun, 16 Jan 2011 19:50:43 +0000 (UTC) (envelope-from magyarimiki@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 096E18FC1C for ; Sun, 16 Jan 2011 19:50:42 +0000 (UTC) Received: by vws9 with SMTP id 9so1761899vws.13 for ; Sun, 16 Jan 2011 11:50:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=zPRbTJpfrcjzvti7i5/cjUvnZEWPp7JbJI/jr1zCulY=; b=i2PbhSJJ9yEVV0xjsg9yg09twvGSrH9rwNbxjozGisX3WJS/781Uhm7bgoch2oqFoT G2BXGNoA9+tyuHpPStgjxRnwW+yBmzjDjZsVj+QCluPEWmcQDFABwKE+YemCTCHJ5W9f k5HF3J9ctu+4W6L4zDK0osn/+MzFrghcFIqKI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=iDiTvXhZHXO0lmiRa5/pQDDaBxnY4tBDbND32fQtpqhDnAjLZdaylrN4Tj8x8I2X+E 6I6PApqM05OXY+fRa9IARgVRM3KBq9kOwUbacgWuvTTaRDJ1vxLEWCKMwTV0LxzzakO1 tQcKgGKSkiS15j1VmsCsy0zF+/olDLhr6kKZc= MIME-Version: 1.0 Received: by 10.220.185.79 with SMTP id cn15mr1125090vcb.54.1295206884529; Sun, 16 Jan 2011 11:41:24 -0800 (PST) Received: by 10.220.166.6 with HTTP; Sun, 16 Jan 2011 11:41:24 -0800 (PST) In-Reply-To: References: Date: Sun, 16 Jan 2011 20:41:24 +0100 Message-ID: From: Miki Magyari To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: problem debugging kernel module using kernel crash dump with kgdb 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: Sun, 16 Jan 2011 19:50:43 -0000 > > Any pointers why this subfunction not shown with "bt" and why I cannot > get local variables for it? > hi, after sending this question and having a short break I've just realized that it is caused by the compiler optimization. -O0 seems to help. br, Miki