This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: specifying gdb's exit code
- From: Andrew Stubbs <ams at codesourcery dot com>
- To: Daniel Gutson <daniel dot gutson at tallertechnologies dot com>, <gdb at sourceware dot org>
- Date: Tue, 22 Apr 2014 13:55:18 +0100
- Subject: Re: specifying gdb's exit code
- Authentication-results: sourceware.org; auth=none
- References: <CAF5HaEVTZAxc0FNR9GnGNKJqxGSrbQaTfZ7ZRMoueTg6jQyL8A at mail dot gmail dot com>
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?
Andrew