This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-gdb compatibilty
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: sumanth <sumanth dot gundapneni at redpinesignals dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 28 Apr 2009 11:07:50 -0400
- Subject: Re: gcc-gdb compatibilty
- References: <49F2F9A4.70108@redpinesignals.com> <m3ws98tz5g.fsf@google.com>
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