From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3013 invoked by alias); 6 Aug 2002 17:36:12 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 3006 invoked from network); 6 Aug 2002 17:36:11 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 6 Aug 2002 17:36:11 -0000 Received: from dsl254-114-118.nyc1.dsl.speakeasy.net ([216.254.114.118] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17c8Fi-0003jf-00 for ; Tue, 06 Aug 2002 12:36:14 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17c8Fw-0004q7-00 for ; Tue, 06 Aug 2002 13:36:28 -0400 Date: Tue, 06 Aug 2002 10:36:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: RFA/doc: Add agent expressions chapter Message-ID: <20020806173627.GA18326@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i X-SW-Source: 2002-08/txt/msg00129.txt.bz2 We've got some nice documentation for all the tracepoint agent expressions code, but we don't include it in the manual. This patch adds that and fixes a warning in the new chapter. OK? -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer 2002-08-06 Daniel Jacobowitz * Makefile.in (SFILES_INCLUDED): Add agentexpr.texi. * agentexpr.texi: Retitle section. Comment out initialization. Factor a @var{}. * gdb.texinfo: Add Agent Expressions chapter. Index: Makefile.in =================================================================== RCS file: /cvs/src/src/gdb/doc/Makefile.in,v retrieving revision 1.20 diff -u -p -r1.20 Makefile.in --- Makefile.in 25 Feb 2002 04:32:58 -0000 1.20 +++ Makefile.in 6 Aug 2002 17:34:36 -0000 @@ -99,6 +99,7 @@ DVIPS = dvips # Main GDB manual's source files SFILES_INCLUDED = gdb-cfg.texi \ $(srcdir)/annotate.texi \ + $(srcdir)/agentexpr.texi \ $(srcdir)/fdl.texi \ $(srcdir)/gpl.texi Index: agentexpr.texi =================================================================== RCS file: /cvs/src/src/gdb/doc/agentexpr.texi,v retrieving revision 1.2 diff -u -p -r1.2 agentexpr.texi --- agentexpr.texi 16 Feb 2000 04:11:25 -0000 1.2 +++ agentexpr.texi 6 Aug 2002 17:34:36 -0000 @@ -1,13 +1,13 @@ -\input texinfo +@c \input texinfo @c %**start of header -@setfilename agentexpr.info -@settitle GDB Agent Expressions -@setchapternewpage off +@c @setfilename agentexpr.info +@c @settitle GDB Agent Expressions +@c @setchapternewpage off @c %**end of header -Revision: $Id: agentexpr.texi,v 1.2 1998/12/09 21:23:46 jimb Exp $ +@c Revision: $Id: agentexpr.texi,v 1.2 1998/12/09 21:23:46 jimb Exp $ -@node The GDB Agent Expression Mechanism +@node Agent Expressions @chapter The GDB Agent Expression Mechanism In some applications, it is not feasable for the debugger to interrupt @@ -299,7 +299,7 @@ Pop two integers from the stack; let @va and @var{b} be the top value. Shift @var{a} left by @var{b} bits, and push the result. -@item @code{rsh_signed} (0x0a): @var{a} @var{b} @result{} @var{@code{(signed)}a>>b} +@item @code{rsh_signed} (0x0a): @var{a} @var{b} @result{} @code{(signed)}@var{a>>b} Pop two integers from the stack; let @var{a} be the next-to-top value, and @var{b} be the top value. Shift @var{a} right by @var{b} bits, inserting copies of the top bit at the high end, and push the result. Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.107 diff -u -p -r1.107 gdb.texinfo --- gdb.texinfo 3 Aug 2002 23:37:07 -0000 1.107 +++ gdb.texinfo 6 Aug 2002 17:34:40 -0000 @@ -146,6 +146,7 @@ Copyright (C) 1988-2002 Free Software Fo * Emacs:: Using @value{GDBN} under @sc{gnu} Emacs * Annotations:: @value{GDBN}'s annotation interface. * GDB/MI:: @value{GDBN}'s Machine Interface. +* Agent Expressions:: The GDB Agent Expression Mechanism * GDB Bugs:: Reporting bugs in @value{GDBN} * Formatting Documentation:: How to format and print @value{GDBN} documentation @@ -13539,6 +13540,7 @@ each value is printed in its own window. @include annotate.texi @include gdbmi.texinfo +@include agentexpr.texi @node GDB Bugs @chapter Reporting Bugs in @value{GDBN}