From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29627 invoked by alias); 4 Sep 2008 22:32:17 -0000 Received: (qmail 29609 invoked by uid 22791); 4 Sep 2008 22:32:15 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 04 Sep 2008 22:31:38 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m84MSHGG002937; Thu, 4 Sep 2008 18:28:42 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m84MS60M008274; Thu, 4 Sep 2008 18:28:06 -0400 Received: from opsy.redhat.com (vpn-12-48.rdu.redhat.com [10.11.12.48]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m84MS42f032205; Thu, 4 Sep 2008 18:28:05 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 5E0AF3782BA; Thu, 4 Sep 2008 16:28:18 -0600 (MDT) To: "Ulrich Weigand" Cc: drow@false.org (Daniel Jacobowitz), gdb-patches@sourceware.org Subject: Re: [rfc][08/37] Eliminate builtin_type_ macros: Make pointer arithmetic explicit References: <20080902123738.GB21700@caradoc.them.org> <200809022147.m82Ll8Td011960@d12av02.megacenter.de.ibm.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Thu, 04 Sep 2008 22:32:00 -0000 In-Reply-To: <200809022147.m82Ll8Td011960@d12av02.megacenter.de.ibm.com> (Ulrich Weigand's message of "Tue\, 2 Sep 2008 23\:47\:08 +0200 \(CEST\)") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00081.txt.bz2 >>>>> "Ulrich" == Ulrich Weigand 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