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: [RFA] Use data cache for stack accesses


>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> * dwarf2loc.c (dwarf2_evaluate_loc_desc): Mark values on stack with
Doug> set_value_stack.

I ran across this while merging the DW_OP_*_value patch.

Do we really know that such values always come from the stack?  It seems
plausible to me that this is the case in practice, but aren't compilers
free to refer to any memory at all from a DWARF expression?

Tom


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