This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: RFC: GDB as a loader 2/3: return child result
> Date: Fri, 28 Oct 2005 14:56:58 +0100
> From: Andrew STUBBS <andrew.stubbs@st.com>
> Cc: gdb@sources.redhat.com
>
> > I think we should spell out all this information, since this option is
> > meant to be used by people who write shell scripts that invoke GDB in
> > batch mode. If I'd need to write such a script, I'd wish to know
> > exactly what kinds of exit codes I will see and under what
> > circumstances.
>
> Ok. How about the attached?
The new text is fine, thanks.
> +@value{GDBN} exits abnormally. E.g. due to an incorrect argument or an
"E.g." should be followed by a comma.
> +The user quits with an explicit value. E.g. @samp{quit 1}.
Same here.