This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]