This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug exp/9512] Incomplete type evaluated incorrectly


http://sourceware.org/bugzilla/show_bug.cgi?id=9512

--- Comment #5 from Tom Tromey <tromey at redhat dot com> 2012-07-13 15:35:28 UTC ---
(In reply to comment #4)
> This bug report was created at beginning of 2008, and at that time GDB 6.5
> might be not so old. It is not my fault that more than 4 years had to pass
> until somebody have had a look at it.

Sorry, I didn't mean to imply anything.

> CSpaceTriplet is a class with array of three doubles (a point in space).
> The program was and is compiled with -gstabs+ -malign-double (these are the
> options that might be relevant to the problem).
> The GCC version at that time was 3.3.5
> 
> At present I have GCC 4.6.2 and GDB 6.8 available in my system.
> I can try tomorrow if problem persists.

Also try using DWARF rather than stabs.
stabs are pretty dead now, and I'm told (I know little about stabs...)
that they never worked very well for C++.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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