From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12485 invoked by alias); 29 Aug 2015 11:34:43 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 12471 invoked by uid 89); 29 Aug 2015 11:34:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout26.012.net.il Received: from mtaout26.012.net.il (HELO mtaout26.012.net.il) (80.179.55.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 29 Aug 2015 11:34:42 +0000 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NTU00M00CYU4D00@mtaout26.012.net.il> for gdb@sourceware.org; Sat, 29 Aug 2015 14:36:44 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTU00DX7DL81290@mtaout26.012.net.il>; Sat, 29 Aug 2015 14:36:44 +0300 (IDT) Date: Sat, 29 Aug 2015 11:34:00 -0000 From: Eli Zaretskii Subject: Re: Auto-load safe-path and auto-load scripts-directory on Windows In-reply-to: <20150829112713.GB3298@host1.jankratochvil.net> To: Jan Kratochvil Cc: gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <83egim2uqz.fsf@gnu.org> References: <83io7y3249.fsf@gnu.org> <83h9ni2zij.fsf@gnu.org> <20150829112713.GB3298@host1.jankratochvil.net> X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg00057.txt.bz2 > Date: Sat, 29 Aug 2015 13:27:13 +0200 > From: Jan Kratochvil > Cc: gdb@sourceware.org > > On Sat, 29 Aug 2015 11:51:48 +0200, Eli Zaretskii wrote: > > Also, trying to fix that by configuring with, e.g. > > > > --with-auto-load-dir='$debugdir;$datadir/auto-load' > > > > doesn't work, as the resulting binary only shows $debugdir in the > > value. Evidently, the semi-colon and everything after it was > > stripped, even though it was in '..' quotes. How can I provide a > > Windows-style path with this configure-time option? > > Check first how it has been output to config.h's AUTO_LOAD_DIR. Like this: /* Directories from which to load auto-loaded scripts. */ #define AUTO_LOAD_DIR "$debugdir"