This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [patch] Fix for varobj.c assertions.
- From: Aleksandar Ristovski <ARistovski at qnx dot com>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: gdb-patches at sourceware dot org, Ryan Mansfield <RMansfield at qnx dot com>
- Date: Tue, 15 Jan 2008 09:51:08 -0500
- Subject: RE: [patch] Fix for varobj.c assertions.
>
> Aleksandar Ristovski writes:
> > >
> > > I use:
> > >
> > > gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
> > > Ubuntu 7.04 (2.6.20-15-generic)
> > >
> >
> > What is your gdb version?
>
> Perhaps I should have said. Current CVS: GNU gdb 6.7.50.20080109-cvs.
>
> Can anybody else duplicate this problem? (see pr2309)
>
I did some more testing, it turns out it depends on the toolchain version.
Toolchain that produced the problem:
gcc 4.1.1
binutils 2.17
However, with
gcc 4.1.2
binutils 2.18
the problem does not reproduce.
The patch fixes the problem in the case of problematic toolchain version.