[rfc] DWARF expression evaluation vs. GDB address encoding problems
Ulrich Weigand
uweigand@de.ibm.com
Fri Jun 25 13:02:00 GMT 2010
Tom Tromey wrote:
> >>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:
>
> Ulrich> In fact, this seems the real problem to me: operations on the DWARF
> Ulrich> stack should really use the target pointer / address representation;
> Ulrich> only after the computation is complete should the value be converted
> Ulrich> into the GDB internal address representation (CORE_ADDR).
>
> This makes sense to me.
>
> Ulrich> As a side effect, we no longer need to employ the value machinery
> Ulrich> to perform binary operations on the DWARF stack.
>
> Nice.
>
> Ulrich> Tom, does this look reasonable to you?
>
> Yes, thanks.
OK, thanks for the review!
I've checked the patch in now.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
More information about the Gdb-patches
mailing list