From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13540 invoked by alias); 25 Oct 2019 15:04:01 -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 13512 invoked by uid 89); 25 Oct 2019 15:04:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 spammy= 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; Fri, 25 Oct 2019 15:03:58 +0000 Received: by mx1.osci.io (Postfix, from userid 994) id 15DE92105F; Fri, 25 Oct 2019 11:03:57 -0400 (EDT) Received: from gnutoolchain-gerrit.osci.io (gnutoolchain-gerrit.osci.io [IPv6:2620:52:3:1:5054:ff:fe06:16ca]) by mx1.osci.io (Postfix) with ESMTP id 09A4F20E5D; Fri, 25 Oct 2019 11:03:54 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by gnutoolchain-gerrit.osci.io (Postfix) with ESMTP id DD843204C9; Fri, 25 Oct 2019 11:03:54 -0400 (EDT) X-Gerrit-PatchSet: 5 Date: Fri, 25 Oct 2019 15:04:00 -0000 From: "Tom Tromey (Code Review)" To: Christian Biesinger , gdb-patches@sourceware.org Cc: Tom de Vries , Simon Marchi Auto-Submitted: auto-generated X-Gerrit-MessageType: comment Subject: [review v5] Load system gdbinit files from a directory X-Gerrit-Change-Id: If233859ecc21bc6421d589b37cd658a3c7d030f2 X-Gerrit-Change-Number: 26 X-Gerrit-ChangeURL: X-Gerrit-Commit: eca839c42e9fd7c5dd7fff3e5612fd85c8fc865b In-Reply-To: References: X-Gerrit-Comment-Date: Fri, 25 Oct 2019 11:03:54 -0400 Reply-To: gnutoolchain-gerrit@osci.io 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: <20191025150354.DD843204C9@gnutoolchain-gerrit.osci.io> X-SW-Source: 2019-10/txt/msg00916.txt.bz2 Tom Tromey has posted comments on this change. Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/26 ...................................................................... Patch Set 5: (1 comment) https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/26/3/gdb/main.c File gdb/main.c: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/26/3/gdb/main.c@1039 PS3, Line 1039: ret = catch_command_errors (source_script, file.c_str (), 0); > Yeah, I was wondering about too... I think this is to support the behavior that Gary (I think?) added, where if the last script in `-batch` fails, gdb will exit with nonzero status. This threw me a little too. -- Gerrit-Project: binutils-gdb Gerrit-Branch: master Gerrit-Change-Id: If233859ecc21bc6421d589b37cd658a3c7d030f2 Gerrit-Change-Number: 26 Gerrit-PatchSet: 5 Gerrit-Owner: Christian Biesinger Gerrit-Reviewer: Christian Biesinger Gerrit-Reviewer: Tom de Vries Gerrit-CC: Simon Marchi Gerrit-CC: Tom Tromey Gerrit-Comment-Date: Fri, 25 Oct 2019 15:03:54 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: Christian Biesinger Comment-In-Reply-To: Simon Marchi Gerrit-MessageType: comment