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: asmwarrior <asmwarrior at gmail dot com>
- To: Eli Zaretskii <eliz at gnu dot org>, gdb at sourceware dot org
- Date: Sun, 20 Sep 2015 06:43:38 +0800
- 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>
On 2015-8-29 16:55, 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? (Does
> anyone use these features on Windows? if so, how come no one noticed?)
>
When I start GDB on windows, I pass this argument:
-iex "set auto-load safe-path /"
This enable Auto-load safe-path to every directories. This is not quite safe, but it works.
Yuanhui Zhang