This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] New file fpc-abi.c
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Pierre Muller <muller at ics dot u-strasbg dot fr>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 17 Feb 2003 12:31:08 -0500
- Subject: Re: [RFC] New file fpc-abi.c
- References: <5.0.2.1.2.20030217180426.02227540@ics.u-strasbg.fr>
On Mon, Feb 17, 2003 at 06:12:17PM +0100, Pierre Muller wrote:
> This patch adds a new file fpc-abi.c
> to the gdb directory.
>
> The purpose of this file is rather clear:
> it allows to recognize Free Pascal compiled
> objects and to handle ABI stuff in a more
> adequate way.
>
> Should I submit this in several RFA?
>
>
> ChangeLog entry:
>
> 2003-02-17 Pierre Muller <muller@ics.u-strasbg.fr>
>
> * fpc-abi.c: New file.
> Implements Free Pascal specific ABI.
> * minsyms.c (install_minimal_symbols): Recognize
> Free Pascal compiled objects by the presence of
> 'fpc_compiled' minimal symbol.
> * Makefile.in: Add fpc-abi.c compilation rules.
A lot of this file looks like it was just copied from one of the GNU
C++ ABI files. Certainly the comments are now wrong. Is a lot of the
code really appropriate? i.e. does Free Pascal have the concept of an
RTTI type, or virtual functions, or operator names?
These are listed as C++ ABIs. Adding one for Pascal feels dodgy.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer