Re: Using gdb on a debian system.

2007-03-20 Thread cga2000
On Tue, Mar 20, 2007 at 03:13:20PM EST, Sven Arvidsson wrote: > On Mon, 2007-03-19 at 19:03 -0500, cga2000 wrote: > > > See http://wiki.debian.org/?HowToGetABacktrace > > > > I tried that HowTo but was unable to get it to work. > > > > It's also unclear what these commands do. > > > > Does this

Re: Using gdb on a debian system.

2007-03-20 Thread Sven Arvidsson
On Mon, 2007-03-19 at 19:03 -0500, cga2000 wrote: > > See http://wiki.debian.org/?HowToGetABacktrace > > I tried that HowTo but was unable to get it to work. > > It's also unclear what these commands do. > > Does this end up replacing the normal binaries with a debug version of > the programs?

Re: Using gdb on a debian system.

2007-03-19 Thread cga2000
On Mon, Mar 19, 2007 at 03:58:15AM EST, Sven Arvidsson wrote: > 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 ef

Re: Using gdb on a debian system.

2007-03-19 Thread cga2000
On Sun, Mar 18, 2007 at 11:07:04PM EST, Roberto C. Sánchez wrote: > 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 > > re

Re: Using gdb on a debian system.

2007-03-19 Thread Kamaraju S Kusumanchi
Sven Arvidsson wrote: > See http://wiki.debian.org/?HowToGetABacktrace > Nice link! Explains the concepts and commands beautifully! Long live Debian Wiki and kudos to the authors! raju -- Kamaraju S Kusumanchi http://www.people.cornell.edu/pages/kk288/ http://malayamaarutham.blogspot.com/

Re: Using gdb on a debian system.

2007-03-19 Thread Sven Arvidsson
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 t

Re: Using gdb on a debian system.

2007-03-18 Thread Roberto C . Sánchez
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

Using gdb on a debian system.

2007-03-18 Thread cga2000
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