Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: asmwarrior <asmwarrior@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>,
	 Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb@sourceware.org
Subject: Re: Auto-load safe-path and auto-load scripts-directory on Windows
Date: Sat, 10 Oct 2015 01:29:00 -0000	[thread overview]
Message-ID: <56186C66.1090907@gmail.com> (raw)
In-Reply-To: <83a8ta2qsq.fsf@gnu.org>

On 2015-8-29 21:00, Eli Zaretskii wrote:
>> Date: Sat, 29 Aug 2015 13:43:56 +0200
>> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>> Cc: gdb@sourceware.org
>>
>> On Sat, 29 Aug 2015 13:34:44 +0200, Eli Zaretskii wrote:
>>> Like this:
>>>
>>>   /* Directories from which to load auto-loaded scripts. */
>>>   #define AUTO_LOAD_DIR "$debugdir"
>>
>> OK, so the bug is in configure.ac, if it is used in Mingw on MS-Windows (if
>> you use Mingw).  I do not see what is wrong in configure.ac, MS-Windows host
>> maintainer should debug that.
> 
> Thanks, I've filed bug reports for both problems.
> 
>   https://sourceware.org/bugzilla/show_bug.cgi?id=18897
>   https://sourceware.org/bugzilla/show_bug.cgi?id=18898
> 

Maybe, this discussion is related:
pkg-config wiki update and build problem - http://permalink.gmane.org/gmane.comp.gnu.mingw.msys/3822
Then, replace some text in the configure.ac:

AC_MSG_CHECKING([for default auto-load directory])
AC_ARG_WITH(auto-load-dir,
AS_HELP_STRING([--with-auto-load-dir=PATH],
  [directories from which to load auto-loaded scripts @<:@$debugdir:$datadir/auto-load@:>@]),,
  [with_auto_load_dir='$debugdir:$datadir/auto-load'])
escape_dir=`echo $with_auto_load_dir | sed 's/[[$]]\(datadir\|debugdir\)\>/\\\\\\\\\\\\&/g'`
AC_DEFINE_DIR(AUTO_LOAD_DIR, escape_dir,
	      [Directories from which to load auto-loaded scripts.])
AC_MSG_RESULT([$with_auto_load_dir])


Yuanhui Zhang


  reply	other threads:[~2015-10-10  1:29 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-29  8:55 Eli Zaretskii
2015-08-29  9:51 ` Eli Zaretskii
2015-08-29 11:27   ` Jan Kratochvil
2015-08-29 11:34     ` Eli Zaretskii
2015-08-29 11:44       ` Jan Kratochvil
2015-08-29 13:00         ` Eli Zaretskii
2015-10-10  1:29           ` asmwarrior [this message]
2015-10-10  7:27             ` Eli Zaretskii
2015-10-10 13:13               ` asmwarrior
2015-10-10 13:17                 ` Eli Zaretskii
2015-10-10 13:29                   ` asmwarrior
2015-10-10 14:10                   ` asmwarrior
2015-08-29 11:24 ` Jan Kratochvil
2015-08-29 11:33   ` Eli Zaretskii
2015-09-19 22:33 ` asmwarrior
2015-09-20  6:13   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56186C66.1090907@gmail.com \
    --to=asmwarrior@gmail.com \
    --cc=eliz@gnu.org \
    --cc=gdb@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox