From 95438deda1a4dc5be64d31ed5dd3495060b76147 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Fri, 12 Dec 2008 16:54:06 -0800 Subject: [PATCH] gdb * top.c (gdb_init): Don't set the current directory here; that's already been done in captured_main. --- gdb/ChangeLog | 5 +++++ gdb/top.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gdb/top.c b/gdb/top.c index d0ba466..655b7c9 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. */ -- 1.5.6.3