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

Same here - generally speaking. There might be cases like Daniel says
where we're not ready for that (yet?), but that's definitely a goal
at least as far as Ada support has been concerned.

-- 
Joel


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