Why does gdb now give lots of warnings?
James Antill
james.antill at redhat.com
Fri Jan 4 18:27:07 UTC 2008
On Fri, 2008-01-04 at 17:15 +0000, Andrew Haley wrote:
> Jan Kratochvil writes:
> > On Fri, 04 Jan 2008 17:53:09 +0100, Andrew Haley wrote:
> > > Jan Kratochvil writes:
> > ...
> > > > OK, you are right Fedora GDB could; the build-id support messages should be
> > > > cross-OS ones, this loading feature is still not imported into upstream GDB and
> > > > it is heading there.
> > >
> > > Sure, but we could have a simple local message like
> > >
> > > Try "yum install /usr/lib/debug/.build-id/72/67a2ecd318b0f87a0747a6986d0d6dc01c6d8d.debug"
> > >
> > > I learnt only today that would work...
> >
> > Such as this one - just for the first such message printed? I guess changing
> > the `Missing ...' message itself would be already too OS-specific.
>
> Perfection would be:
>
> Missing debuginfo for /lib64/libnss_files-2.7.so
> Try "yum install /usr/lib/debug/.build-id/72/67a2ecd318b0f87a0747a6986d0d6dc01c6d8d.debug"
>
> If we can't do that upstream, then the closer we get, the better. Or
> we have a local patch.
Well what we really want here is:
Try "debuginfo-install glibc" (or "debuginfo-install python" if they
are running gdb on that), but that requires some kind of integration
with rpm or yum.
--
James Antill <james.antill at redhat.com>
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080104/b4ce1a70/attachment.sig>
More information about the fedora-devel-list
mailing list