This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: specifying gdb's exit code
- From: Daniel Gutson <daniel dot gutson at tallertechnologies dot com>
- To: Andrew Stubbs <ams at codesourcery dot com>
- Cc: gdb <gdb at sourceware dot org>
- Date: Tue, 22 Apr 2014 09:59:35 -0300
- Subject: Re: specifying gdb's exit code
- Authentication-results: sourceware.org; auth=none
- References: <CAF5HaEVTZAxc0FNR9GnGNKJqxGSrbQaTfZ7ZRMoueTg6jQyL8A at mail dot gmail dot com> <535666B6 dot 1050803 at codesourcery dot com>
On Tue, Apr 22, 2014 at 9:55 AM, Andrew Stubbs <ams@codesourcery.com> 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
--
Daniel F. Gutson
Chief Engineering Officer, SPD
San Lorenzo 47, 3rd Floor, Office 5
CÃrdoba, Argentina
Phone: +54 351 4217888 / +54 351 4218211
Skype: dgutson