RFC: GDB as a loader 2/3: return child result

Andrew STUBBS andrew.stubbs@st.com
Fri Oct 28 14:01:00 GMT 2005


Eli Zaretskii wrote:
> The "error occurs" part is not clear enough, IMO.  Could you please
> state more clearly what kinds of error could cause this ``unless''
> clause to kick in?  Also, if such an error does occur, what will GDB
> return as its exit status in that case?
> 
> 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?

Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: return-result-docs.patch
URL: <http://sourceware.org/pipermail/gdb/attachments/20051028/5c9ecb74/attachment.ksh>


More information about the Gdb mailing list