From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8164 invoked by alias); 28 Oct 2008 18:06:23 -0000 Received: (qmail 8140 invoked by uid 22791); 28 Oct 2008 18:06:22 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 28 Oct 2008 18:05:46 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 9C59E4800E; Tue, 28 Oct 2008 11:05:41 -0700 (PDT) Received: from [10.20.92.59] (promb-2s-dhcp59.eng.vmware.com [10.20.92.59]) by mailhost3.vmware.com (Postfix) with ESMTP id 9165FC9A3F; Tue, 28 Oct 2008 11:05:41 -0700 (PDT) Message-ID: <4907531A.7040805@vmware.com> Date: Tue, 28 Oct 2008 18:06:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Andr=E9_P=F6nitz?= CC: "gdb@sourceware.org" Subject: Re: [bug] problem printing local vars in shared lib function References: <490648CE.4090709@vmware.com> <200810280907.49029.apoenitz@trolltech.com> In-Reply-To: <200810280907.49029.apoenitz@trolltech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-10/txt/msg00123.txt.bz2 André Pönitz wrote: > On Tuesday 28 October 2008 00:03:42 Michael Snyder wrote: >> Does this sound familiar to anybody? X86_64... >> >> I have a local shared library function, built with -g, >> gdb has its symbols and can list it, step into it, step >> within it etc. >> >> I can print the values of the function parameters, but >> not the values of local (automatic) variables. These >> are not statics but autos on the stack. > > Is this function a constructor? > > If so, it sounds familiar ;-} No, I don't think so, I believe it was an ordinary function, and in fact I think the problem was demonstrated to me in several different shlib functions.