This is the mail archive of the gdb@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: specifying gdb's exit code


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


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