[RFC] New file fpc-abi.c
Daniel Jacobowitz
drow@mvista.com
Mon Feb 17 17:31:00 GMT 2003
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
More information about the Gdb-patches
mailing list