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: [rfc][08/37] Eliminate builtin_type_ macros: Make pointer arithmetic explicit


>>>>> "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


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