This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [PATCH 01/23] dwarf: add dwarf3 DW_OP_push_object_address opcode


> The address fields were introduced as DW_OP_push_object_address
> needs an object address to be pushed and this address needs to be stored
> somewhere. However, I will extend the log message why this address fields
> were introduced.

I understand this part, but the main part of my question is about
the fact that, most of the time, we manipulate "struct value" objects,
which may not represent addressable entities. For instance, let's say
I have a struct value whose type is a TYPE_CODE_ARRAY. If I need to
resolve the value's type, how should I be doing it? Perhaps, the
question in itself suggest the introduction of a function that would
take a value, and returned a value whose time is resolved?

-- 
Joel


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