GDB and compiler version.
Daniel Jacobowitz
drow@mvista.com
Fri Sep 26 18:40:00 GMT 2003
On Fri, Sep 26, 2003 at 02:12:11PM -0400, Paul Dubuc wrote:
> 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?
It should not matter.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb
mailing list