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

Re: Using gdb on a debian system.



On Sun, 2007-03-18 at 23:53 -0500, cga2000 wrote:
> I have tried to follow the recommendations I found in various docs,
> like rebuilding the package via an "apt-get source package" followed
> by a "dpkg -i package_name" to no effect.
> 
> Even if I try to point gdb to the directory that contains the source
> via the "-d" flag I end up with the dreaded "no symbols table loaded"
> message. "use the file command".

The Debian packages are by default stripped of all debugging info. When
you rebuild the packages yourself, you can choose not to do so. It
should be much easier than grabbing the upstream source and building it.

See http://wiki.debian.org/?HowToGetABacktrace

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: