From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10020 invoked by alias); 16 Oct 2019 22:20:56 -0000 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 Received: (qmail 10009 invoked by uid 89); 16 Oct 2019 22:20:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: mx1.osci.io Received: from polly.osci.io (HELO mx1.osci.io) (8.43.85.229) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 16 Oct 2019 22:20:54 +0000 Received: by mx1.osci.io (Postfix, from userid 994) id 3C04B2091A; Wed, 16 Oct 2019 18:20:53 -0400 (EDT) Received: from gnutoolchain-gerrit.osci.io (gnutoolchain-gerrit.osci.io [8.43.85.239]) by mx1.osci.io (Postfix) with ESMTP id 0536320564; Wed, 16 Oct 2019 18:20:52 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by gnutoolchain-gerrit.osci.io (Postfix) with ESMTP id E6FE820AF6; Wed, 16 Oct 2019 18:20:51 -0400 (EDT) X-Gerrit-PatchSet: 1 Date: Wed, 16 Oct 2019 22:20:00 -0000 From: "Christian Biesinger (Code Review)" To: Tom de Vries , gdb-patches@sourceware.org Cc: Christian Biesinger Auto-Submitted: auto-generated X-Gerrit-MessageType: comment Subject: [review] [RFC][gdb] Make script-extension strict reject unknown extensions X-Gerrit-Change-Id: Ia357a4b0b1042808401578266da80919035ad576 X-Gerrit-Change-Number: 40 X-Gerrit-ChangeURL: X-Gerrit-Commit: b625d8dd1120db265f4681faa2b4848197187899 In-Reply-To: References: X-Gerrit-Comment-Date: Wed, 16 Oct 2019 18:20:51 -0400 Reply-To: cbiesinger@google.com, tdevries@suse.de, cbiesinger@google.com, gdb-patches@sourceware.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/3.0.3 Content-Type: text/plain; charset=UTF-8 Message-Id: <20191016222051.E6FE820AF6@gnutoolchain-gerrit.osci.io> X-SW-Source: 2019-10/txt/msg00523.txt.bz2 Christian Biesinger has posted comments on this change. Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/40 ...................................................................... Patch Set 1: > Patch Set 1: > > > Patch Set 1: > > > > A couple questions about this: > > - If specified in -ix or a system gdbinit file, does it prevent reading ~/.gdbinit? [...] > But for the system gdbinit, it's yes. > > > - Does it prevent reading a file in --command if it doesn't have the extension? > > Yes: [...] Hm, personally I would find that behavior surprising, especially for the gdbinit file. But I have no decision power here...