From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24689 invoked by alias); 18 Jan 2010 17:51:11 -0000 Received: (qmail 24679 invoked by uid 22791); 18 Jan 2010 17:51:09 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Jan 2010 17:51:02 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0KWG00300ER1ZF00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Mon, 18 Jan 2010 19:50:59 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.81.4]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KWG004MMEWY0M00@a-mtaout20.012.net.il>; Mon, 18 Jan 2010 19:50:59 +0200 (IST) Date: Mon, 18 Jan 2010 17:51:00 -0000 From: Eli Zaretskii Subject: Re: [RFA/NEWS] source is able to load Python scripts. In-reply-to: <1263798265-2952-1-git-send-email-brobecker@adacore.com> To: Joel Brobecker Cc: gdb-patches@sourceware.org, brobecker@adacore.com Reply-to: Eli Zaretskii Message-id: <83vdez714r.fsf@gnu.org> References: <1263798265-2952-1-git-send-email-brobecker@adacore.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-01/txt/msg00458.txt.bz2 > From: Joel Brobecker > Cc: Joel Brobecker > 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?