This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/14834] New: Crash while trying to read field
- From: "icegood1980 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 12 Nov 2012 21:30:30 +0000
- Subject: [Bug c++/14834] New: Crash while trying to read field
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14834
Bug #: 14834
Summary: Crash while trying to read field
Product: gdb
Version: 7.5
Status: NEW
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@sourceware.org
ReportedBy: icegood1980@gmail.com
Classification: Unclassified
Just typed
(gdb) p this[0]
for instantiation of template class
Obtained
...<list of fields from base classes>, ..., maxDisp =
/build/buildd/gdb-7.5/gdb/findvar.c:176: internal-error: extract_typed_address:
type is not a pointer or reference
A problem internal to GDB has been detected,
further debugging may prove unreliable.
where maxDisp (private, double) just seems to be 1st own field of that template
class.
Simply p maxDisp from command line is OK.
==========
version GNU gdb (GDB) 7.5-ubuntu
--
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.