From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5034 invoked by alias); 23 Aug 2014 07:32:13 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 5011 invoked by uid 89); 23 Aug 2014 07:32:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout23.012.net.il Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 23 Aug 2014 07:32:09 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NAR008000E1UG00@a-mtaout23.012.net.il> for gdb@sourceware.org; Sat, 23 Aug 2014 10:32:06 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NAR008H00XIUI10@a-mtaout23.012.net.il>; Sat, 23 Aug 2014 10:32:06 +0300 (IDT) Date: Sat, 23 Aug 2014 07:32:00 -0000 From: Eli Zaretskii Subject: Re: possible gdb agent expression extension In-reply-to: <12648.1408745258@usendtaylorx2l> To: David Taylor Cc: gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <83fvgnmzk7.fsf@gnu.org> References: <20426.1406558341@usendtaylorx2l> <12648.1408745258@usendtaylorx2l> X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00117.txt.bz2 > Date: Fri, 22 Aug 2014 18:07:38 -0400 > From: David Taylor > > Hopefully the markup is correct: I cannot comment on the markup's idea because I don't really understand what you are trying to say using that markup. I think the larger context is missing. That @result{} at the end, with nothing after it, does look strange: what "result" does this give? > @item @code{setmem8} (0x??): @var{addr} @var{value} @result{} > @item @code{setmem16} (0x??): @var{addr} @var{value} @result{} > @item @code{setmem32} (0x??): @var{addr} @var{value} @result{} > @item @code{setmem64} (0x??): @var{addr} @var{value} @result{} If this is part of a @table, you will be much better off using "@table @code", so that 0x?? etc. will be rendered in the appropriate typeface. (Btw, what does "0x??" signify?) > Pop an address @var{addr} and a value @{value} from the stack. For > bytecode @code{setmem}@var{n}, set the @var{n}-bit value at @var{addr} > to the least significant @var{n}-bits of @var{value}. Ignoring > architecture pointer alignment issues, it is as if the operation > > *@code{uint}@var{n}@code{_t}@var{addr} = @code{uint}@var{n}@code{_t}@var{value} You cannot stick a code portion in the middle of text just like that, you should use @smallexample (and then drop the @code parts, as they are automatically used for text inside @smallexample).