This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Auto-load safe-path and auto-load scripts-directory on Windows
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb at sourceware dot org
- Date: Sat, 29 Aug 2015 14:34:44 +0300
- Subject: Re: Auto-load safe-path and auto-load scripts-directory on Windows
- Authentication-results: sourceware.org; auth=none
- References: <83io7y3249 dot fsf at gnu dot org> <83h9ni2zij dot fsf at gnu dot org> <20150829112713 dot GB3298 at host1 dot jankratochvil dot net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sat, 29 Aug 2015 13:27:13 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> 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"