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++/15770] "Info Variables" returns bad results for typedef array


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

--- Comment #7 from b_smith at aerosimulation dot com ---
Tom,

Thanks again for the help. I just installed gdb 7.6 and it worked as expected.
Output below:

(gdb) info variables
All defined variables:

File test.c:
shm_rec_t shm;
static const float32 hsi_range[8];


(gdb) ptype shm_rec_t
type = struct shm_rec_t {
    float32 f32ara[8];
    int a;
    char c;
}

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