This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] Indicate batch mode failures by exiting with nonzero status
- From: Pedro Alves <palves at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>, gdb-patches at sourceware dot org
- Cc: tom at tromey dot com
- Date: Thu, 23 Aug 2018 17:37:25 +0100
- Subject: Re: [PATCH v2] Indicate batch mode failures by exiting with nonzero status
- References: <1534934813-10188-1-git-send-email-gbenson@redhat.com>
On 08/22/2018 11:46 AM, Gary Benson wrote:
> Hi all,
>
> This patch causes GDB in batch mode to exit with nonzero status
> if the last command to be executed fails.
>
> Changes since version 1:
> - I've reworked the patch to not use a global variable.
> - Behaviour has not changed from version 1.
>
> Built and regtested on RHEL 7.5 x86_64.
>
> Ok to commit?
LGTM.
Thanks,
Pedro Alves