Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make yum also install debug symbols?

yum install libevent-devel

How to make it also install debug symbols??

like image 684
gdb Avatar asked Apr 01 '11 05:04

gdb


People also ask

How install debuginfo install?

debuginfo-install is a program which installs the RPMs needed to debug the specified package. The package argument can be a wildcard, but will only match installed packages. debuginfo- install will then enable any debuginfo repositories, and install the relevant debuginfo rpm.

What are debugging symbols Linux?

A debug symbol is a special kind of symbol that attaches additional information to the symbol table of an object file, such as a shared library or an executable.

What is debuginfo package?

A useful debuginfo package contains stripped symbols from ELF binaries ( *. debug in /usr/lib/debug ) as well as the source code related to them (in /usr/src/debug ). The script that generates the packages is /usr/lib/rpm/find-debuginfo.sh , read it through to get a basic understanding of how they're generated.


1 Answers

There's a helper script debuginfo-install that will find the appropriate packages, but you still need to feed it the (base) package name(s).

Note: dnf (which replaced yum) has the same helper script (in dnf-plugins-core); and gdb on recent Fedoras (at least) will enumerate the entire listing when it's loaded for you.

like image 93
BRPocock Avatar answered Oct 07 '22 16:10

BRPocock