This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [cplus] Add an entry point for cp-names
- From: Eli Zaretskii <eliz at elta dot co dot il>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 10 Feb 2004 08:36:43 +0200
- Subject: Re: [cplus] Add an entry point for cp-names
- References: <20031224223616.GA11606@nevyn.them.org> <ur7ygp77z.fsf@elta.co.il> <20040209203434.GA12280@nevyn.them.org>
- Reply-to: Eli Zaretskii <eliz at elta dot co dot il>
> Date: Mon, 9 Feb 2004 15:34:34 -0500
> From: Daniel Jacobowitz <drow@mvista.com>
>
> > 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.
That just means that the problem is slightly more complicated than I
remembered.
> 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.
Oh, come on! Just changing [yp*] to [yps*] is all we need. That, and
renaming one of the two object files produced from cp-names.tab.c, to
avoid file-name clashes.