[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#149561: bad pathnames coded into the libs



On Mon, 2002-06-10 at 13:15, Ulrich Eckhardt wrote:
> Package: libstdc++3-dbg
> Version: 3.0.4-7
> 
> While trying to debug a program, I encountered some weird paths that 
> prevented me from taking advance of the debug-lib:
> 
> LD_PRELOAD=/usr/lib/libstdc++_debug/libstdc++3.so.3 gdb ./test
> ...
> (gdb) step
> 178     in 
> /home/doko/packages/gcc/3.0/gcc-3.0-3.0.4ds3/build/i386-linux/libstdc++-v3/include/bits/char_traits.h
> (gdb)
> 
> This dir doesn't exist on my machine, and of course I can't step through the 
> source then.

You should still be able to step through the program, you just won't see
the actual source code displayed.

The binaries have to be built in some directory, and whatever pathname
is used will end up embedded in the debug information.  There's not a
lot we can do about this.

p.



-- 
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: