This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: binutils, bfd library, debug.h/c files and so on...
- From: Ian Lance Taylor <ian at airs dot com>
- To: Tarmo Pikaro <tapika at yahoo dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, binutils at sourceware dot org
- Date: 28 Sep 2005 13:58:25 -0700
- Subject: Re: binutils, bfd library, debug.h/c files and so on...
- References: <20050928204901.56145.qmail@web31701.mail.mud.yahoo.com>
Tarmo Pikaro <tapika@yahoo.com> writes:
> Meanwhile - Ian, can you check out what modifications
> I must make to get access to one/two dimentional
> arrays?
Given an object of kind DEBUG_KIND_ARRAY, it's the fields of struct
debug_array_type in debug.c. You'll need some sort of accessor
functions for them. They'll return things like
type->u.karray->element_type
All arrays are represented as one dimensional arrays. A two
dimensional array will be represented as an array whose element_type
is another array.
Ian