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:19:06 +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 #13 from Tom Tromey <tromey at redhat dot com> 2012-11-19 20:19:06 UTC ---
(In reply to comment #12)
> Created attachment 6746 [details]
> ptypes
>
> Meanwhile i'm trying to dig from other side.
> In findvar.c:176 have
> (gdb) p type->main_type->code
> $4 = TYPE_CODE_FLT
>
> as it should be. The question why it treats to be pointer.
This code is trying to print the vtable pointer specially.
What is happening is that it is confused and thinks this field
is the vtable pointer. What I'm trying to do is reconstruct
the failure here, hoping that with the right type hierarchy
I can recreate it locally.
--
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.