This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] Indicate batch mode failures by exiting with nonzero status


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]