Auto-load safe-path and auto-load scripts-directory on Windows

Eli Zaretskii eliz@gnu.org
Sat Aug 29 11:34:00 GMT 2015


> 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"



More information about the Gdb mailing list