This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Heads up: cli subdirectory check in tonight
On Fri, Dec 01, 2000 at 03:53:10AM +0000, Fernando Nasser wrote:
> > It seems weird to have cli/cli-<xxx>. I would think moving them to a new
> > subdirectory, you could rename them to cli/<xxx>.
> >
>
> Yes, I had the same doubts. I believe I posted the question and I got only
> only reply in favor of "cli-foo".
>
> And we do currently have both mi and gdbtk subdirectories following the
> "keep the prefix" rule.
>
> I personally had no preferences but I admit this way prevents name clashes,
> specially in these UI directories. You see, these possible gdb dialects
> like the CLI, the MI, some GUILE interface, our Tcl code etc may tend to
> have things like "parser", "cmds", "cmdloop" etc.
>
> This would not make sense in other contexts though.
The problem is if you still have to worry about the old DOS 8.3 limit or the
System V.[12] limit of 14 characters total, having a prefix greatly cuts down
on the available names.
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: meissner@redhat.com phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482