From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28465 invoked by alias); 27 Jul 2007 21:44:33 -0000 Received: (qmail 28288 invoked by uid 22791); 27 Jul 2007 21:44:31 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 27 Jul 2007 21:44:30 +0000 Received: (qmail 28320 invoked from network); 27 Jul 2007 21:44:27 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 27 Jul 2007 21:44:27 -0000 To: "Pierre Muller" Cc: "'Gaius Mulley'" , Subject: Re: [PATCH] Unbounded array support implemented (for Modula-2) References: <874pjs57zg.fsf@j228-gm.comp.glam.ac.uk> <002a01c7cf57$b881b0c0$29851240$@u-strasbg.fr> From: Jim Blandy Date: Sat, 28 Jul 2007 00:59:00 -0000 In-Reply-To: <002a01c7cf57$b881b0c0$29851240$@u-strasbg.fr> (Pierre Muller's message of "Thu, 26 Jul 2007 09:36:46 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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: 2007-07/txt/msg00302.txt.bz2 "Pierre Muller" writes: > Modula-2 is not the only language supporting unbounded > arrays, I would be interested in using the same kind of code for > pascal language support. In C, there are ABI documents that specify how each type is represented in memory for a given processor, the goal being to specify things enough that one can link code from different vendor's compilers together when they implement the same ABI. It sounds like the 'PIM' documents are the equivalent for Modula-2; is that right? Are there equivalent documents for Pascal? I'm not sure it actually would be a good idea to unify Pascal and Modula-2 code if they are meant to follow different specifications. Bugs in that common code might have the same fix for both languages, or they might not. People would hesitate to fix things, for fear of breaking the other language they're not familiar with. I don't think we should require Gaius's patch to unify the Pascal/Modula-2 support.