From 43ff13b4182f3853e19e9100c84313a6e9302b70 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Mon, 5 Jul 1999 17:58:44 +0000 Subject: import gdb-1999-07-05 snapshot --- gdb/source.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/source.c') diff --git a/gdb/source.c b/gdb/source.c index 2d80b77..ae5a9d0 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -276,7 +276,7 @@ directory_command (dirname, from_tty) /* FIXME, this goes to "delete dir"... */ if (dirname == 0) { - if (query ("Reinitialize source path to empty? ")) + if (from_tty && query ("Reinitialize source path to empty? ")) { free (source_path); init_source_path (); -- cgit v1.1