Thanks, doko, for taking the time to respond. Please feel free to
close this bug or tag wontfix if you want so. The more I think about
this, the more this wishlist decreases in priority and I certainly
don't want to take up any of your time with it!
also sprach Matthias Klose <doko@cs.tu-berlin.de> [2005.08.18.0817 +0200]:
> no, but you can be expected to put the directories into your gdbinit
> file, either in your home, or in your project directory.
>
> $ find /usr/include/c++/4.0/ \
> \( -name x86_64-linux-gnu -prune \) -o -type d -printf "dir %p\n" \
> >> .gdbinit
Yes, I know about this, but I kinda still would like it to be
different, simply because I am Debian-spoiled.
I see two ways out of this:
(a) compile the debug library with the full paths to the headers.
The argument that the location could have changed does not
really hold for Debian, does it?
(b) Add some sort of /etc/gdbinit.rc functionality to gdb
(shouldn't be that hard, I think) and distribute this file with
the proper directory entries in the package. Come to think of
it, it would need to be /etc/gdbinit.d :)
(a) might be easiest. I am just wondering why e.g. libcwd's -dbg
package works out of the box with gdb. I did not do anything special
other than to tell dh_strip to put the debug libraries into their
own package...
--
.''`. martin f. krafft <madduck@debian.org>
: :' : proud Debian developer and author: http://debiansystem.info
`. `'`
`- Debian - when you have better things to do than fixing a system
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
"those who are faithful know only the trivial side of love:
it is the faithless who know love's tragedies."
-- oscar wilde
Attachment:
signature.asc
Description: Digital signature (GPG/PGP)