This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Unbounded array support implemented (for Modula-2)


"Pierre Muller" <muller@ics.u-strasbg.fr> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]