This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: first preprocessor macro expansion files
- From: Jim Blandy <jimb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: 13 May 2002 13:16:49 -0500
- Subject: Re: RFA: first preprocessor macro expansion files
- References: <20020506225730.61A965EA11@zwingli.cygnus.com>
I've committed this change.
Jim Blandy <jimb@redhat.com> writes:
> This change just adds the macro table and macro expander files to GDB.
> It doesn't have any effect on GDB's behavior. Their .o files will go
> into libgdb.a, but since nobody yet calls the functions these files
> define, and they have no _initialize functions, they don't end up in
> the final GDB executable.
>
> 2002-05-06 Jim Blandy <jimb@redhat.com>
>
> Add first preprocessor macro-expansion files.
> * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files.
> * Makefile.in (SFILES): Add macrotab.c, macroexp.c.
> (splay_tree_h, macroexp_h, macrotab_h): New variable.
> (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h.
> (COMMON_OBS): Add macrotab.o, macroexp.o.
> (macroexp.o, macrotab.o): New rules.