Init current_directory.

This commit is contained in:
Thomas Lord 1994-06-15 08:04:44 +00:00
parent c96386c4d8
commit f36b58b10c
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Wed Jun 15 00:41:03 1994 Tom Lord (lord@rtl.cygnus.com)
* top.c (gdb_init): Init current_directory in gdb_init. Probably
the identical initialization can be deleted from main.c, but i
haven't done so just in case.
Tue Jun 14 17:24:41 1994 Tom Lord (lord@x1.cygnus.com)
* gdba.el: Added menu windows and slightly improved window

View File

@ -484,6 +484,9 @@ gdb_init ()
{
/* Run the init function of each source file */
getcwd (dirbuf, sizeof (dirbuf));
current_directory = dirbuf;
init_cmd_lists (); /* This needs to be done first */
initialize_all_files ();
init_main (); /* But that omits this file! Do it now */