[rfc][08/37] Eliminate builtin_type_ macros: Make pointer arithmetic explicit
Tom Tromey
tromey@redhat.com
Thu Sep 4 22:32:00 GMT 2008
>>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:
Ulrich> I was trying to make the "value_*" routines be as much as possible
Ulrich> language- and architecture-independent, and push language- and
Ulrich> architecture-specific semantics up to higher layers. (In this case,
Ulrich> the expression evaluator. In fact, I might like it even better if
Ulrich> expressions themselves were also language-agnostic, and all the
Ulrich> language-specific semantics were encoded explicitly into different
Ulrich> operand codes by the parsers ...)
FWIW, I also would prefer this approach. I think the primary benefit
is fewer dependencies between modules.
Tom
More information about the Gdb-patches
mailing list