I am using WindRiver Systems CrossWind (which is somewhat modified v.
4.12 of GDB). Sorry for "blast from the past" but that is what WRS has
only available in Tornado 1.0.1 ... We are using Solaris 2.7 as the host
and Clearmake. The shell is "bash". My question is related to the fact
(or at least my guess) that symbolic debugging information, which is
seems to besaved  in object files (when compiled with gcc's option "-g"
) includes also information re fully qualified path(s) (i.e.
hierarchical directories branch) where source files were residing during
the compilation and in GDB this info is read and kept in $cdir (please
correct me if I am wrong in my guess ).  What if  by  the time
 when I am going to use GDB, the source files got moved into other
directories (than original compilation directories ) ?  Is this problem
handled/resolved in latest versions of gcc/gdb (like GDB 4.18 or GDB 5.0
) ? and if yes how ?



Sent via Deja.com http://www.deja.com/
Before you buy.

Reply via email to