From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12862 invoked by alias); 31 Jul 2007 16:53:15 -0000 Received: (qmail 12806 invoked by uid 22791); 31 Jul 2007 16:52:53 -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; Tue, 31 Jul 2007 16:52:49 +0000 Received: (qmail 14196 invoked from network); 31 Jul 2007 16:52:47 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 31 Jul 2007 16:52:47 -0000 To: Gaius Mulley Cc: Eli Zaretskii , deuling@de.ibm.com, gdb-patches@sources.redhat.com Subject: Re: [PATCH] Unbounded array support implemented (for Modula-2) References: <874pjs57zg.fsf@j228-gm.comp.glam.ac.uk> <46A847CE.7030907@de.ibm.com> <87ir866ocg.fsf@j228-gm.comp.glam.ac.uk> <87r6mqif61.fsf@j228-gm.comp.glam.ac.uk> <871weops83.fsf@j228-gm.comp.glam.ac.uk> From: Jim Blandy Date: Tue, 31 Jul 2007 19:18:00 -0000 In-Reply-To: <871weops83.fsf@j228-gm.comp.glam.ac.uk> (Gaius Mulley's message of "Tue, 31 Jul 2007 15:23:24 +0100") 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/msg00336.txt.bz2 Gaius Mulley writes: > - I wonder whether it might be better to hold off applying the patch > and attempt to solve the problem properly using the COMPUTE_BOUND > method explained above. You're the Modula-2 maintainer, so it's your call, but for what it's worth, if you think the full DWARF implementation --- both the GCC and GDB sides --- will take more than a few weeks, and if these unbounded arrays are a reasonably widely used language construct, I'd counsel you to go ahead and commit the current patch. The work is already done; there's no reason to make the perfect the enemy of the good.