This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/14834] Crash while trying to read field
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 19 Nov 2012 20:35:56 +0000
- Subject: [Bug c++/14834] Crash while trying to read field
- Auto-submitted: auto-generated
- References: <bug-14834-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14834
--- Comment #14 from Tom Tromey <tromey at redhat dot com> 2012-11-19 20:35:56 UTC ---
Unfortunately I still can't make a test case.
The immediate problem here is in cp_print_value_fields.
We have i == vptr_fieldno && type == vptr_basetype
-- but erroneously.
So one question is the value of 'i' and also 'type'
(here, "type.main_type.name" will tell you the type currently
being printed).
But I suspect that this is just the local problem and the
real issue is that get_vptr_fieldno is returning the wrong
results. And if that is so then it is likely that the issue
is either in the debuginfo or the debuginfo reader.
Any chance you can send me your executable?
--
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.