This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB and compiler version.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]