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] New: Crash while trying to read field


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.


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