From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130229 invoked by alias); 23 Aug 2018 08:00:55 -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 129943 invoked by uid 89); 23 Aug 2018 08:00:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=HX-Received:sk:u2-v6mr X-HELO: mail-yw1-f51.google.com Received: from mail-yw1-f51.google.com (HELO mail-yw1-f51.google.com) (209.85.161.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 23 Aug 2018 08:00:05 +0000 Received: by mail-yw1-f51.google.com with SMTP id y134-v6so1649916ywg.1 for ; Thu, 23 Aug 2018 01:00:05 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a81:82c1:0:0:0:0:0 with HTTP; Thu, 23 Aug 2018 01:00:03 -0700 (PDT) In-Reply-To: <834lfmcvt2.fsf@gnu.org> References: <1534934813-10188-1-git-send-email-gbenson@redhat.com> <834lfmcvt2.fsf@gnu.org> From: Gary Benson Date: Thu, 23 Aug 2018 08:00:00 -0000 Message-ID: Subject: Re: [PATCH v2] Indicate batch mode failures by exiting with nonzero status To: Eli Zaretskii Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00561.txt.bz2 On 22 August 2018 at 15:36, Eli Zaretskii wrote: > > From: Gary Benson > > Cc: tom@tromey.com > > Date: Wed, 22 Aug 2018 11:46:53 +0100 > > > > diff --git a/gdb/NEWS b/gdb/NEWS > > index 16d3d72..6af712a 100644 > > --- a/gdb/NEWS > > +++ b/gdb/NEWS > > @@ -10,6 +10,9 @@ > > * DWARF index cache: GDB can now automatically save indices of DWARF > > symbols on disk to speed up further loading of the same binaries. > > > > +* GDB in batch mode now exits with status 1 if the last command to be > > + executed failed. > > + > > This part is OK, thanks. Thanks Eli.