This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
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