From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30148 invoked by alias); 28 Feb 2003 16:10:13 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 30140 invoked from network); 28 Feb 2003 16:10:13 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by 172.16.49.205 with SMTP; 28 Feb 2003 16:10:13 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 76B721474B for ; Fri, 28 Feb 2003 17:10:12 +0100 (MET) To: gdb-patches@sources.redhat.com Subject: Re: [commit] new observer.[hc] files X-Yow: I'm thinking about DIGITAL READ-OUT systems and computer-generated IMAGE FORMATIONS.. From: Andreas Schwab Date: Fri, 28 Feb 2003 16:10:00 -0000 In-Reply-To: <20030228152256.GB23109@nevyn.them.org> (Daniel Jacobowitz's message of "Fri, 28 Feb 2003 10:22:56 -0500") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 References: <20030228072243.GD6112@gnat.com> <20030228152256.GB23109@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2003-02/txt/msg00814.txt.bz2 Daniel Jacobowitz writes: |> Is this extra indirection really necessary? Because I'm 99% sure it |> won't work on several 64-bit platforms. Function pointers and data |> pointers are not required to have the same size; on IA-64 I believe |> that a function pointer is 128 bits and a data pointer is 64 bits. Function pointer are still 64 bits on ia64 (and ppc64). They do not point to the code itself, but to a descriptor which contains the actual code pointer and the gp value. But I agree that mixing function pointer and object pointers should be avoided. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."