This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Heads up: cli subdirectory check in tonight
- To: gdb-patches at sources dot redhat dot com
- Subject: Heads up: cli subdirectory check in tonight
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Fri, 01 Dec 2000 00:48:02 +0000
- Organization: Red Hat Canada Ltd. - Toronto
The take #3 of the CLI separation is the move of the CLI code to its
own directory, into proper files.
I did this over the weekend and it has been working nicely since then.
I have run the testusuite many times with no regression so it is time
to check it in.
Again, I've tried to keep the changes to a minimum, basically only moving
code that was scattered (I only tackled top.c and commands.c this time)
so that the changes are properly documented.
This means that the file cli/cli-cmds.c will change a lot in the future,
but not now (I also want to post a RFC for that).
It also means that I left both the old and the new CLI command loop behind.
That has to go in a different patch (it is time to get rid of the old code
that has not been used for over an year anyway).
The new files will be (for now):
cli/cli-decode.c
cli/cli-decode.h
cli/cli-cmds.c
cli/cli-cmds.h
cli/cli-script.c
cli/cli-script.h
cli/cli-setshow.c
cli/cli-setshow.h
Don't forget to use "-d" to get the new files when updating.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9