This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] useless code in symtab.c
David Carlton writes:
> On Wed, 23 Oct 2002 18:32:32 -0400, Elena Zannoni <ezannoni@redhat.com> said:
>
> > Can you also knock out the one at:
>
> > linespec.c:38:extern char *find_template_name_end (char *);
>
> That one gets used by decode_line_1. (One of these days, I'll try to
> understand what that function is doing, but I'm not feeling quite that
> masochistic yet.) Though I don't see any compelling reason not to
> just #include "parser-defs.h" there instead of declaring that one
> function specially; should I go ahead and do that?
>
decode_line_1, I think it will also make coffee if you ask nicely.... :-(
Yes, please, and update the Makefile.in dependencies.
> (Looking through ChangeLogs, I see that code in linespec.c used to be
> in symtab.c; that explains why the prototype was in symtab.c.)
>
yes, Fernando split the two.
Elena
> David Carlton
> carlton@math.stanford.edu