This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]