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 c++/14834] Crash while trying to read field


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.


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