This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/NEWS] source is able to load Python scripts.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org, brobecker at adacore dot com
- Date: Mon, 18 Jan 2010 19:51:00 +0200
- Subject: Re: [RFA/NEWS] source is able to load Python scripts.
- References: <1263798265-2952-1-git-send-email-brobecker@adacore.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: Joel Brobecker <brobecker@adacore.com>
> Date: Mon, 18 Jan 2010 11:04:25 +0400
>
> This patch documents the fact that the "source" comment is now able to
> load Python scripts. It also documents a new setting that was introduced
> to configure the behavior of the "source" command.
Thanks.
> + Related to this enhancement is also the introduction a new command
> + "set script-extension" (see below). ^^^^^^^^^^^^^^
"of a new command"
> + If set to off, the debugger does not perform any script language
> + recognition, and all sourced files are assumed to be GDB scripts.
> + If set to "soft" (the default), files are sourced according to
> + filename extension, falling back to GDB scripts if the first
> + evaluation failed.
> + If set to "strict", files are sourced according to filename extension.
If it's "strict" and "soft", then it should also be "off", with
quotes, right?
Btw, the patch for the manual that I just approved didn't document
"set script-extension", did I miss something?