From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10278 invoked by alias); 29 Aug 2015 11:33:39 -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 10263 invoked by uid 89); 29 Aug 2015 11:33:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout29.012.net.il Received: from mtaout29.012.net.il (HELO mtaout29.012.net.il) (80.179.55.185) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 29 Aug 2015 11:33:37 +0000 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NTU00O00DFGE200@mtaout29.012.net.il> for gdb@sourceware.org; Sat, 29 Aug 2015 14:33:47 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTU00OFFDGB2L00@mtaout29.012.net.il>; Sat, 29 Aug 2015 14:33:47 +0300 (IDT) Date: Sat, 29 Aug 2015 11:33:00 -0000 From: Eli Zaretskii Subject: Re: Auto-load safe-path and auto-load scripts-directory on Windows In-reply-to: <20150829112436.GA3298@host1.jankratochvil.net> To: Jan Kratochvil Cc: gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <83fv322uss.fsf@gnu.org> References: <83io7y3249.fsf@gnu.org> <20150829112436.GA3298@host1.jankratochvil.net> X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg00056.txt.bz2 > Date: Sat, 29 Aug 2015 13:24:36 +0200 > From: Jan Kratochvil > Cc: gdb@sourceware.org > > On Sat, 29 Aug 2015 10:55:34 +0200, Eli Zaretskii wrote: > > I've noticed that the default values of these 2 path lists use ':' as > > directory separator, even on MS-Windows. Isn't that a bug? > > Yes, that seems a bug to me. I have no idea if configure is used for Mingw It is, of course. There's no other practical way of building GDB with MinGW. > and I guess ':' works for Cygwin. So I still do not see how to fix that. Using a variable set from the host, instead of a literal colon, seems like a starting point, no? > Besides that for example 'set debug-file-directory' originally allowed only > one directory but for some years it allows a PATH-style list of directories. > Should it be therefore the old option name deprecated + renamed? Preferably the options should be called "directories" or "path", not "directory".