GDB and compiler version.
Paul Dubuc
pdubuc@cas.org
Fri Sep 26 18:17:00 GMT 2003
We are using gdb with the GCC C++ compiler on Solaris. Recently we upgraded GCC
from 2.95.3 to 3.3.1 and gdb from 5.0 to 5.3. We also upgraded binutils 2.11 to
2.14.
My question is Are there any compiler or binutils dependencies in gdb? Should
gdb 5.3 compiled with g++ 3.3.1 work as well on code that is compiled with g++
2.95.3? Or do I always need to use a gdb that is built with the same version of
GCC that is used to build the programs it debugs?
Thanks,
--
Paul M. Dubuc
More information about the Gdb
mailing list