This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
how to access array elements?
- From: "Joerg Beyer" <j dot beyer at web dot de>
- To: gdb at sources dot redhat dot com
- Date: Mon, 17 Mar 2003 12:02:12 +0100
- Subject: how to access array elements?
- Organization: http://freemail.web.de/
Dear List Reader,
while fiddeling with the gdb-sources, I want to iterate over the
values of an array. I have the "struct value*"-pointer, that is a
TYPE_CODE_ARRAY. How do I get value-pointers to the
entries of the array?
thanks in advance
Joerg