On Sun, Mar 18, 2007 at 11:53:51PM -0500, cga2000 wrote: > Could somebody advise on using gdb on a debian system? > > Currently whenever I need to take an insider look at what the code is > really doing, I try to locate the source of the same version, download > the .tar.gz .. run configure/make and execute the version that I built > from source: > > $ gdb ./program > > Is there any way I could cause debian to systematically install the > source that corresponds to the packaged binaries? > What you really need are the -dbg variants for your packages. Not all packages have a -dbg variant available, but many of the bigger and more popular packages do. The -dbg packages are compiled with extra debugging information, allowing you to run them in gdb and get useful information. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com
Attachment:
signature.asc
Description: Digital signature