From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17561 invoked by alias); 17 Mar 2003 11:02:14 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 17509 invoked from network); 17 Mar 2003 11:02:13 -0000 Received: from unknown (HELO mailgate5.cinetic.de) (217.72.192.165) by sources.redhat.com with SMTP; 17 Mar 2003 11:02:13 -0000 Received: from web.de (fmomail02.dlan.cinetic.de [172.20.1.46]) by mailgate5.cinetic.de (8.11.6/8.11.2/SuSE Linux 8.11.0-0.4) with SMTP id h2HB2C309956 for gdb@sources.redhat.com; Mon, 17 Mar 2003 12:02:12 +0100 Date: Mon, 17 Mar 2003 11:02:00 -0000 Message-Id: <200303171102.h2HB2C309956@mailgate5.cinetic.de> MIME-Version: 1.0 Organization: http://freemail.web.de/ From: "Joerg Beyer" To: gdb@sources.redhat.com Subject: how to access array elements? Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00247.txt.bz2 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