From fdb7262ae487eccebfaf84f3a5cbecbdeae2c5c7 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 6 Jan 2009 18:28:04 +0000 Subject: * top.c (gdb_init): Don't set the current directory here; that's already been done in captured_main. --- gdb/top.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gdb/top.c') diff --git a/gdb/top.c b/gdb/top.c index 0b40180..860c286 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. */ -- cgit v1.1