public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc-gdb compatibilty
@ 2009-04-25 14:58 sumanth
  2009-04-25 19:19 ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: sumanth @ 2009-04-25 14:58 UTC (permalink / raw)
  To: gcc

hi ,
I have a small query.
I am using gcc-4.3.3 version and gdb 5.3 version.
Are the versions of gcc and gdb  which I am using are compatible.


Thanks in advance,
Sumanth


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc-gdb compatibilty
  2009-04-25 14:58 gcc-gdb compatibilty sumanth
@ 2009-04-25 19:19 ` Ian Lance Taylor
  2009-04-28 18:10   ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Lance Taylor @ 2009-04-25 19:19 UTC (permalink / raw)
  To: sumanth; +Cc: gcc

sumanth <sumanth.gundapneni@redpinesignals.com> writes:

> I have a small query.
> I am using gcc-4.3.3 version and gdb 5.3 version.
> Are the versions of gcc and gdb  which I am using are compatible.

The gcc@gcc.gnu.org mailing list is for discussion of gcc development.
This question would be better directed to gcc-help@gcc.gnu.org or to
gdb@sourceware.org.  Please take any followups there.  Thanks.

Yes, while there are of course occasional bugs and mismatches, in
general all versions of gcc and gdb are compatible.  That said, gdb 5.3
is old; it was released over five years ago.  It will ignore some of the
newer types of debugging information emitted by gcc.  The current gdb
release is 6.8, and is considerably enhanced over 5.3.  You should
consider upgrading if possible.

Ian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc-gdb compatibilty
  2009-04-25 19:19 ` Ian Lance Taylor
@ 2009-04-28 18:10   ` Daniel Jacobowitz
  2009-04-29 10:47     ` sumanth
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2009-04-28 18:10 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: sumanth, gcc

On Sat, Apr 25, 2009 at 10:35:07AM -0700, Ian Lance Taylor wrote:
> Yes, while there are of course occasional bugs and mismatches, in
> general all versions of gcc and gdb are compatible.  That said, gdb 5.3
> is old; it was released over five years ago.  It will ignore some of the
> newer types of debugging information emitted by gcc.  The current gdb
> release is 6.8, and is considerably enhanced over 5.3.  You should
> consider upgrading if possible.

Newer GDB almost always works with older GCC.  Older GDB often does not work
with newer GCC; I suspect 5.3 will crash and/or be useless with most
GCC 4.x binaries.  For instance, in that time we added location list
support.

-- 
Daniel Jacobowitz
CodeSourcery

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc-gdb compatibilty
  2009-04-28 18:10   ` Daniel Jacobowitz
@ 2009-04-29 10:47     ` sumanth
  0 siblings, 0 replies; 4+ messages in thread
From: sumanth @ 2009-04-29 10:47 UTC (permalink / raw)
  To: Ian Lance Taylor, sumanth, gcc

Thanks Daniel for the useful piece of information.
 Initially I thought of error from compiler side...Now I consider 
upgrading my gdb .

Thanks,
Sumanth

Daniel Jacobowitz wrote:
> On Sat, Apr 25, 2009 at 10:35:07AM -0700, Ian Lance Taylor wrote:
>   
>> Yes, while there are of course occasional bugs and mismatches, in
>> general all versions of gcc and gdb are compatible.  That said, gdb 5.3
>> is old; it was released over five years ago.  It will ignore some of the
>> newer types of debugging information emitted by gcc.  The current gdb
>> release is 6.8, and is considerably enhanced over 5.3.  You should
>> consider upgrading if possible.
>>     
>
> Newer GDB almost always works with older GCC.  Older GDB often does not work
> with newer GCC; I suspect 5.3 will crash and/or be useless with most
> GCC 4.x binaries.  For instance, in that time we added location list
> support.
>
>   


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-29  4:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-25 14:58 gcc-gdb compatibilty sumanth
2009-04-25 19:19 ` Ian Lance Taylor
2009-04-28 18:10   ` Daniel Jacobowitz
2009-04-29 10:47     ` sumanth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).