From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16791 invoked by alias); 28 Oct 2005 17:00:40 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 16771 invoked by uid 22791); 28 Oct 2005 17:00:34 -0000 Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 28 Oct 2005 17:00:34 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-30-197.inter.net.il [80.230.30.197]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CVD26333 (AUTH halo1); Fri, 28 Oct 2005 19:00:14 +0200 (IST) Date: Fri, 28 Oct 2005 17:00:00 -0000 Message-Id: From: Eli Zaretskii To: Andrew STUBBS CC: gdb@sources.redhat.com In-reply-to: <43622E2A.9050600@st.com> (message from Andrew STUBBS on Fri, 28 Oct 2005 14:56:58 +0100) Subject: Re: RFC: GDB as a loader 2/3: return child result Reply-to: Eli Zaretskii References: <4354DC55.4090706@st.com> <436205A6.9010403@st.com> <43622E2A.9050600@st.com> X-SW-Source: 2005-10/txt/msg00188.txt.bz2 > Date: Fri, 28 Oct 2005 14:56:58 +0100 > From: Andrew STUBBS > 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.