This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Unbounded array support implemented (for Modula-2)
- From: Gaius Mulley <gaius at glam dot ac dot uk>
- To: Jim Blandy <jimb at codesourcery dot com>
- Cc: Eli Zaretskii <eliz at gnu dot org>, deuling at de dot ibm dot com, gdb-patches at sources dot redhat dot com
- Date: 16 Oct 2007 17:15:44 +0100
- 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> <ufy39em04.fsf@gnu.org> <87r6mqif61.fsf@j228-gm.comp.glam.ac.uk> <m3ir81juqp.fsf@codesourcery.com> <871weops83.fsf@j228-gm.comp.glam.ac.uk> <m38x8w5xcx.fsf@codesourcery.com>
Jim Blandy <jimb@codesourcery.com> writes:
> Gaius Mulley <gaius@glam.ac.uk> 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.
Hi Jim,
Just a small note to say that I'm going to follow your advice and
commit these original patches (and test codes) before too much time
elapses. I've re-tested the code on the current CVS snapshot and it
doesn't cause any extra regression failures. I guess I'd just like to
flag this as about to happen..
regards,
Gaius