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: RFC: implement DW_OP_stack_value and DW_OP_implicit_value


>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:

Pedro> On Friday 04 September 2009 23:33:54, Tom Tromey wrote:
>> I added an 'arch' field to piece_closure because we need the objfile's
>> architecture when decoding a stack value; I think we can't use the
>> frame's architecture because we might not have a frame.

Pedro> That sounds strange to me.  When would we be reading things
Pedro> off the stack and not have a frame?

Sorry, I wasn't clear.  I was referring to the dwarf expression stack.
The value in question comes from DW_OP_stack_value.

Tom


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