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: "Pierre Muller" <muller at ics dot u-strasbg dot fr>
- To: "'Gaius Mulley'" <gaius at glam dot ac dot uk>, <gdb-patches at sources dot redhat dot com>
- Date: Thu, 26 Jul 2007 09:36:46 +0200
- Subject: RE: [PATCH] Unbounded array support implemented (for Modula-2)
- References: <874pjs57zg.fsf@j228-gm.comp.glam.ac.uk>
Could you explain why you need to add
TSIZE as a synonym of SIZE?
Is it just a matter of parser shift/reduce conflicts?
Is TSIZE a modula-2 function?
Is your change in gdb.texinfo in a modula-2 specific
area?
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.
Maybe a more general approach would be useful?
One more remark:
in m2_unbounded_array function, it would probably
be better to honor the value of the show argument,
and to only output something if show is non-zero.
Pierre Muller
GDB pascal language support maintainer