diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e848895fcf..59caeab817 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-01-06 Jim Blandy + + * top.c (gdb_init): Don't set the current directory here; that's + already been done in captured_main. + 2009-01-06 Sandra Loosemore * ser-tcp.c: Adjust includes. diff --git a/gdb/top.c b/gdb/top.c index 0b40180f89..860c286080 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1643,9 +1643,6 @@ gdb_init (char *argv0) /* Run the init function of each source file */ - getcwd (gdb_dirbuf, sizeof (gdb_dirbuf)); - current_directory = gdb_dirbuf; - #ifdef __MSDOS__ /* Make sure we return to the original directory upon exit, come what may, since the OS doesn't do that for us. */