[Dwarf-Discuss] Location list entries for caller-saved registers at time of call

Andreas Arnez arnez at linux.ibm.com
Thu Dec 6 07:32:58 PST 2018


On Thu, Dec 06 2018, David Stenberg via Dwarf-Discuss wrote:

> [...] variables in outer frames using such location list entries will
> incorrectly be evaluated using the inner-most frame's register values
> when debugging in GDB.

If GDB uses caller-saved register values from the inner-most frame in
outer frames, then this is a bug.  Note that this could also be caused
by bad CFI.

--
Andreas



More information about the Dwarf-Discuss mailing list