From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199612021850.LAA02540@panda.mosberger> Date: Mon, 2 Dec 1996 11:50:18 -0700 From: David Mosberger-Tang Subject: Re: gdb doesn't seem to understand my shared library >>>>> On Mon, 2 Dec 1996 13:43:00 -0500, Przemek Klosowski said: >> So, I set up my formerly big static library to be a >> shared library. Now, I get SIGFPE (this is normal, and part >> of the debugging process), and gdb (the latest) doesn't >> have the faintest idea about the symbols. In fact, I Przemek> I have been seeing similar lossage as well; I believe Przemek> there's something broken in gdb's handling of stack frames Przemek> on Alpha. I have reported this to axp-list and Przemek> support@RedHat about 2 weeks ago (I have seen also gdb lose Przemek> the track of local symbols while singlestepping, as opposed Przemek> to setting breakpoints). Again, I can repost if enough Przemek> people ask. There are two problems: - the gdb as shipped on rh4.0 has a patch missing that makes it fail to understand how to load shared library info; I'm not sure whether an updatd gdb RPM has been made available, Erik? - the dynamic libraries do not contain debugging info; this makes it impossible to backtrace or do any other meaningful debugging when inside a shared library (that comes with rh4.0); I think/hope RH plans to ship libraries in the future with enough debugging info that makes at least backtracing possible --david -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com