This is the mail archive of the gdb-patches@sources.redhat.com 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: [cplus] Add an entry point for cp-names


On Sun, Jan 04, 2004 at 08:18:24AM +0200, Eli Zaretskii wrote:
> > Date: Wed, 24 Dec 2003 17:36:16 -0500
> > From: Daniel Jacobowitz <drow@mvista.com>
> > 
> > 2003-12-24  Daniel Jacobowitz  <drow@mvista.com>
> > 
> > 	* Makefile.in (cp_names_h): New variable.
> > 	(cp-names.tab.o, cp-names-main.tab.o): Depend on cp-names.h.
> 
> Just a reminder: the *.tab.c files need entries in fnchange.lst to
> rename them to *_tab.c.  So these two files will need two additional
> lines.

Just one.  There's only one .tab.c file - it builds two object files. 
The second is strictly for testing and strictly optional, so I won't
weep if it doesn't build on DJGPP.  I'm probably the only one who will
need it.

I've taken care of fnchange.lst on the branch, thanks.

> Actually, there's more to this: cp-names_tab.c and cp-names-main_tab.c
> map to the same 8+3 DOS name, so they will break the script in
> gdb/config/djgpp/djconfig.sh which accounts for renaming of *.tab.c
> files (see config.sed for the gory details).  Thus, please consider
> some other name for cp-names-main.tab.c, one that doesn't conflict
> with cp-names.tab.c.

I don't think any of that code is live in this case.  It looks for
[yp*].tab.c and cp-names.tab.c won't match that.  I really don't want
to dig my hands into a 43-line sed script editing another sed
expression when I can't test it, so I'm afraid I will have to leave
this to someone with DJGPP installed.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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