[bug] problem printing local vars in shared lib function

Michael Snyder msnyder@vmware.com
Tue Oct 28 18:06:00 GMT 2008

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.

More information about the Gdb mailing list