bensua
bensua

Reputation: 13

Debugging symbols installation

I'm trying to download debugging symbols to Debian OS, I've done some research and saw this web : https://wiki.debian.org/HowToGetABacktrace , but i could not know the name of the package to download it. Please help me.

Upvotes: 0

Views: 2206

Answers (1)

ks1322
ks1322

Reputation: 35716

This depends on what app you want to debug. Say you want to debug /bin/ls.

First you need to find out what package provides this file:

$ dpkg -S /bin/ls
coreutils: /bin/ls

Package name is coreutils. Next you need to install debug symbols for this package following instructions in https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols. It should be either coreutils-dbgsym or coreutils-dbg package. So the command to install debug symbols package would be one of these:

 # apt-get install coreutils-dbgsym

or

 # apt-get install coreutils-dbg

Upvotes: 1

Related Questions