Bug#323235: fails to find files during debug
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 <[EMAIL PROTECTED]> [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 <[EMAIL PROTECTED]> : :' :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 signature.asc Description: Digital signature (GPG/PGP)
Bug#323235: fails to find files during debug
martin f krafft writes: > Package: libstdc++6-4.0-dbg, gdb > Severity: minor > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 46912505584352 (LWP 21298)] > 0x2ad69a65 in sentry (this=0x7fffdf00, [EMAIL PROTECTED]) > at ostream.tcc:55 > 55 ostream.tcc: No such file or directory. > in ostream.tcc > > $ wc -l /usr/include/c++/4.0.2/bits/ostream.tcc > 704 /usr/include/c++/4.0.2/bits/ostream.tcc > > Running gdb with `-d /usr/include/c++/4.0.2/bits` works, but I can > hardly be expected to pass an option for every subdir of the STL, > can I? 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 > Please integrate the -dbg package better with gdb. I'm not sure, what you mean. You know gdb's "Specifying source directories" section in the gdb manual? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#323235: fails to find files during debug
Package: libstdc++6-4.0-dbg, gdb Severity: minor Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912505584352 (LWP 21298)] 0x2ad69a65 in sentry (this=0x7fffdf00, [EMAIL PROTECTED]) at ostream.tcc:55 55 ostream.tcc: No such file or directory. in ostream.tcc $ wc -l /usr/include/c++/4.0.2/bits/ostream.tcc 704 /usr/include/c++/4.0.2/bits/ostream.tcc Running gdb with `-d /usr/include/c++/4.0.2/bits` works, but I can hardly be expected to pass an option for every subdir of the STL, can I? Please integrate the -dbg package better with gdb. Thanks! -- System Information: Debian Release: 3.1 APT prefers stable APT policy: (700, 'stable'), (600, 'testing'), (98, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-cirrus Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' :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! if god had meant for us to be naked, we would have been born that way. signature.asc Description: Digital signature (GPG/PGP)