From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32417 invoked by alias); 28 Oct 2005 13:04:02 -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 32147 invoked by uid 22791); 28 Oct 2005 13:03:58 -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 13:03:58 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-203-194.inter.net.il [80.230.203.194]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CVA20812 (AUTH halo1); Fri, 28 Oct 2005 15:03:53 +0200 (IST) Date: Fri, 28 Oct 2005 13:04:00 -0000 Message-Id: From: Eli Zaretskii To: Andrew STUBBS CC: gdb@sources.redhat.com In-reply-to: <43620692.2000409@st.com> (message from Andrew STUBBS on Fri, 28 Oct 2005 12:08:02 +0100) Subject: Re: RFC: GDB as a loader 3/3: --eval-command option Reply-to: Eli Zaretskii References: <4354DD31.3020809@st.com> <43620692.2000409@st.com> X-SW-Source: 2005-10/txt/msg00184.txt.bz2 > Date: Fri, 28 Oct 2005 12:08:02 +0100 > From: Andrew STUBBS > > Here is a documentation patch for the --eval-command option. Thanks. > I am not sure this is the right place in the manual. It is not a 'file' > option as such, but nor is it a 'mode' option, and I want to put it > alongside -command. That is fine. > +This option may be used multiple times to call multiple commands. It may ^^ Need two spaces here. > +@smallexample > +@value{GDBP} -ex 'target sim' -ex 'load' -x setbreakpoints -ex 'run' a.out > +@end smallexample Please make the example shorter, because this is too long and will overflow the page margins. (Alternatively, break the command into two lines, and put a `\' at the end of the first one, as you'd do at the shell's prompt.)