Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Yao Qi <yao@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 4/9] agent doc
Date: Fri, 17 Feb 2012 11:38:00 -0000	[thread overview]
Message-ID: <83booxwv0m.fsf@gnu.org> (raw)
In-Reply-To: <1329447300-18841-5-git-send-email-yao@codesourcery.com>

> From: Yao Qi <yao@codesourcery.com>
> Date: Fri, 17 Feb 2012 10:54:55 +0800
> 
> Documentation bits.  Leave original contents of node "Agent Expressions" there, with
> some minor updates.  A new node "Agent" is added.

Thanks.

> +Agent expression will be used in many cases, such as the expressions used in tracepoints
> +for data collection, and expressions used in breakpoint condition evaluation.  The

Please always format the Texinfo sources with lines that don't exceed
80 characters, preferably even 72.

> +expressions may also denote registers and objects in memory---structures or arrays, for
> +example---whose values @value{GDBN} should record.  Originally, agent expressions are used
> +in @dfn{agent} (@pxref{Agent}), so they are called @dfn{Agent Expression}.

I would leave only the latter @dfn, there seems to be no need for the
former one, as you don't describe the agent in this section.

>                                                         Gradually,
> +they are used more widely, such as in remote stub.

I don't understand what you wanted to say in this sentence.  Does it
really add anything important?

> +The agent can interpret and execute @dfn{Agent Expressions}
> +(@pxref{Agent Expressions}) during performing debugging operations.  The

Again, this @dfn is not appropriate here, because this section does
not explain this term.

> +@menu
> +* Control Agent::               Turn agent on and off
> +@end menu
> +@node Control Agent
> +@section Turn Agent On And Off
> +
> +You can control whether the agent is used as an aid for debugging
> +with the following commands:
> +
> +@table @code
> +@item set agent on

@kindex is missing here.  All commands should be indexed.

> +Causes the agent to perform some operations on behalf of the
> +debugger.  Just which operations requested by the user will be done
> +by the agent depends on the agent's capabilities.  For example, if
> +you request to evaluate breakpoint conditions in the agent, and the
> +agent has such capability as well, then breakpoint conditions will be
> +evaluated in the agent.
> +
> +@item set agent off
> +Disables execution of debugging operations by the agent.  All of the
> +operations will be performed by @value{GDBN}.
> +@end table

Don't we also have "show agent"?

Anyway, full section for just 2 commands seems like a waste of a
section.  Why not make it part of its parent chapter.


  reply	other threads:[~2012-02-17 11:37 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-17  2:56 [patch v2] GDB/GDBserver talks with agents Yao Qi
2012-02-17  2:56 ` [PATCH 1/9] move agent related code from gdbserver to common/agent.c Yao Qi
2012-02-17  9:55   ` Mark Kettenis
2012-02-23 21:05   ` Pedro Alves
2012-02-23 21:17     ` Pedro Alves
2012-02-24  7:57     ` Yao Qi
2012-02-24 13:40       ` Yao Qi
2012-02-17  2:56 ` [PATCH 3/9] command set agent on and off Yao Qi
2012-02-23 21:51   ` Pedro Alves
2012-02-24 13:13     ` Yao Qi
2012-02-24 14:15       ` Pedro Alves
2012-02-17  2:57 ` [PATCH 6/9] agent capability of static tracepoint Yao Qi
2012-02-23 22:06   ` Pedro Alves
2012-02-24 13:19     ` Yao Qi
2012-02-24 14:25       ` Pedro Alves
2012-02-17  2:57 ` [PATCH 8/9] impl of use_agent and can_use_agent in linux-nat Yao Qi
2012-02-23 22:15   ` Pedro Alves
2012-02-24  8:34     ` Yao Qi
2012-02-24 10:47       ` Pedro Alves
2012-02-24 13:31     ` Yao Qi
2012-02-24 14:10       ` Pedro Alves
2012-02-24 14:34         ` Yao Qi
2012-02-17  2:57 ` [PATCH 2/9] add target_ops fields use_agent and can_use_agent Yao Qi
2012-02-17 11:40   ` Eli Zaretskii
2012-02-23 21:21   ` Pedro Alves
2012-02-24 13:01     ` Yao Qi
2012-02-24 13:05       ` Pedro Alves
2012-02-17  2:57 ` [PATCH 7/9] move in_process_agent_loaded to agent_loaded_p Yao Qi
2012-02-23 22:11   ` Pedro Alves
2012-02-23 22:27     ` Pedro Alves
2012-02-17  2:57 ` [PATCH 5/9] agent capability Yao Qi
2012-02-17  2:57 ` [PATCH 4/9] agent doc Yao Qi
2012-02-17 11:38   ` Eli Zaretskii [this message]
2012-02-17 13:34     ` Yao Qi
2012-02-17 16:10       ` Pedro Alves
2012-02-18 17:11       ` Eli Zaretskii
2012-02-20  3:56         ` Yao Qi
2012-02-20  6:22           ` Eli Zaretskii
2012-02-21 18:18           ` Pedro Alves
2012-02-22  1:56             ` Yao Qi
2012-02-22 20:41               ` Pedro Alves
2012-02-22 23:43                 ` Eli Zaretskii
2012-02-27 13:23                 ` Yao Qi
2012-02-17  3:02 ` [PATCH 9/9] info static tracepoint in linux-nat Yao Qi
2012-02-24 13:37   ` Yao Qi
2012-02-17  4:02 ` [patch v2] GDB/GDBserver talks with agents Yao Qi
2012-02-17 12:03 ` Eli Zaretskii
2012-02-27  9:43   ` Yao Qi
2012-02-27 18:04     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83booxwv0m.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=yao@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox