Re: Why does gdb now give lots of warnings?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 04 Jan 2008 16:57:20 +0100, Jesse Keating wrote:
> On Fri, 4 Jan 2008 10:49:15 -0500
> Matthew Miller <mattdm@xxxxxxxxxx> wrote:
> 
> > I agree that that's annoying, but you can just enable the debuginfo
> > repo and then yum install the given missing filename. Yum will work
> > out which package provides it.
> 
> You can also just use debuginfo-install <appname> and it will enable
> the repo for you and track down all the needed debuginfo packages.

$ ls -l /usr/lib/debug/.build-id/fa/841219472d35412ad631ad0f0fabb78e5c1957.debug
lrwxrwxrwx 1 root root 27 2007-10-21 15:58 /usr/lib/debug/.build-id/fa/841219472d35412ad631ad0f0fabb78e5c1957.debug -> ../../lib64/ld-2.7.so.debug*
tells the name of the already installed library missing its -debuginfo.

$ repoquery -qf /usr/lib/debug/.build-id/fa/841219472d35412ad631ad0f0fabb78e5c1957.debug
glibc-debuginfo-0:2.7-2.x86_64
tells the -debuginfo package name needing to be installed.

# yum install /usr/lib/debug/.build-id/fa/841219472d35412ad631ad0f0fabb78e5c1957.debug
installs the missing -debuginfo package.

The library name was omitted intentionally there as the printed lines are
already too long just to be able to provide the .debug filename required for
`yum install'.

People commonly try to debug with GDB without having the -debuginfo packages
installed so I expected some hint may be useful there.

`debuginfo-install <appname>' may not install the matching -debuginfo version,
there may be multiple simultaneous -debuginfo versions available and/or
installed in the future (F9?).

I am open for some more convenient interface - currently going to print also
the shared library name there.  (GDB cannot print anything about rpms.)


Thanks,
Jan

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux