From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29255 invoked by alias); 22 Apr 2014 12:59:40 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 29245 invoked by uid 89); 22 Apr 2014 12:59:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mail-la0-f46.google.com Received: from mail-la0-f46.google.com (HELO mail-la0-f46.google.com) (209.85.215.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 22 Apr 2014 12:59:39 +0000 Received: by mail-la0-f46.google.com with SMTP id hr17so4246952lab.19 for ; Tue, 22 Apr 2014 05:59:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=abY5P7nDehTUqTj8ASIKRGRt7XFCrRG+KJ0jjaWuZr8=; b=PyxRYu9COzTpyBvbLIfZwT8pq8bHHNk0lI+TbsCgGd1gpx51U8oGU7VvK/t2Zv3f9h 0Vznvsp5TMicjnX7KiSh6PLClocEBIN4AglYl1GnU+7P1jJ7m4oaty4M3Bz3TmfyEBZJ wI/O2uyqNeEUkWklR9SExe6PjwaRHurn3gdclr1SYLECHaoBjslNDyzNUE1DmKRigMum wDJb4dNJG/1lmYYyF4VayyjxKGrXL9UeH6N9uhXadUO7e3blae/VJgjeuU51zXd/SJnF 86PZ9+/jwc6x66zFLWnq8ReJ6tizVKe8UjGb8PymxdPlXYYcLxb9pBfCcp2hNnK8RrNj kf6Q== X-Gm-Message-State: ALoCoQnngUOXOEhY2yCu9UgQ1zJ3pjUeeN6vIC2/zXBkm3e1DG3TQet7LrZNADXlVDt+oeJGtIRX MIME-Version: 1.0 X-Received: by 10.152.21.137 with SMTP id v9mr1768732lae.44.1398171575445; Tue, 22 Apr 2014 05:59:35 -0700 (PDT) Received: by 10.112.9.40 with HTTP; Tue, 22 Apr 2014 05:59:35 -0700 (PDT) In-Reply-To: <535666B6.1050803@codesourcery.com> References: <535666B6.1050803@codesourcery.com> Date: Tue, 22 Apr 2014 13:06:00 -0000 Message-ID: Subject: Re: specifying gdb's exit code From: Daniel Gutson To: Andrew Stubbs Cc: gdb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2014-04/txt/msg00072.txt.bz2 On Tue, Apr 22, 2014 at 9:55 AM, Andrew Stubbs wrote: > On 17/04/14 19:43, Daniel Gutson wrote: >> >> Due to a specific need, I was thinking of a way to specify (e.g. >> from a script) the gdb exit status, >> specially in terms of the $_exitcode. > > > Does --return-child-result not do what you need? Hi Andrew, it's already solved :) (not exactly, quit [n] does) The patch is just about documenting 'quit' properly. > > Andrew --=20 Daniel F. Gutson Chief Engineering Officer, SPD San Lorenzo 47, 3rd Floor, Office 5 C=C3=B3rdoba, Argentina Phone: +54 351 4217888 / +54 351 4218211 Skype: dgutson