On Mon, 29 Oct 2012 08:53:05 +0800 Paul Wise <p...@debian.org> wrote:
> On Mon, Oct 29, 2012 at 8:50 AM, Philip Ashmore wrote: > > > While this feature allows gdb to know the correct source locations, using it > > implies that packages requiring the feature contain incorrect source paths - > > wouldn't it be better for these packages to contain correct source paths in > > the first place? > > There is no such thing as a "correct source path", I unpack source > tarballs to ~/tmp/ when debugging, you seem to use /usr/src/ and John > Doe uses ~/src/debian/pool/f/foo/foo-0.1/. The "correct source path" for gdb is whatever the user has put into ~/.gdbinit - the paths inside the package don't matter. dir /path/one/ dir /path/another/ -- Neil Williams ============= http://www.linux.codehelp.co.uk/
pgpIxNgCino3A.pgp
Description: PGP signature