binutils, bfd library, debug.h/c files and so on...

Ian Lance Taylor ian@airs.com
Thu Sep 29 02:16:00 GMT 2005


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



More information about the Binutils mailing list