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++/12673] New: Can not identify the new variable type bytypedef.


http://sourceware.org/bugzilla/show_bug.cgi?id=12673

           Summary: Can not identify the new variable type by typedef.
           Product: gdb
           Version: 7.2
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: flyxiao_2000@163.com


Hi,

  When i declare the below struct to a class, then gdb can not identify the
keyList_t.

 typedef struct {
     uint64 key[MAX_KEYS];
     long   dataIndex;
     long next;
  } keyList_t;


(gdb) ptype CTest::keyList_t
There is no field named keyList_t

-- 
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]