From: Eli Zaretskii <eliz@gnu.org>
To: Vladimir Prus <vladimir@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: Multiexec MI
Date: Wed, 13 Jan 2010 21:04:00 -0000 [thread overview]
Message-ID: <83tyup7m3d.fsf@gnu.org> (raw)
In-Reply-To: <201001132329.30212.vladimir@codesourcery.com>
> From: Vladimir Prus <vladimir@codesourcery.com>
> Date: Wed, 13 Jan 2010 23:29:30 +0300
>
> This patch implements MI support for multiexec. I attach my notes on design, as well
> as patch. The patch also contains documentation updates.
Thanks. I have a few comments about the docs.
> -@item =thread-group-created,id="@var{id}"
> +@item =thread-group-added,id="@var{id}"
> +@itemx =thread-group-removed,id="@var{id}"
> +A thread thread group was either added or removed. The @var{id} field
^^^^^^^^^^^^^
I believe one of these two "thread"s should be removed.
> +@item =thread-group-started,id="@var{id}",pid="@var{pid}"
> +A thread group either because associated with a running program,
> +either because the program was started or it the thread group
> +was attached to a program.
Something is wrong with this sentence.
> +A thread thread group is no longer associated with a running program,
^^^^^^^^^^^^^
Another redundant "thread".
> +library are loaded. The @var{thread-group} field, if present,
> +contains the id of the thread group in which the library was loaded.
> +If the field is absent, it means the library was loaded in all present
> +thread groups.
"Library loaded IN a thread group" sounds awkward. Did you mean
"loaded BY a thread group"?
> @item =library-unloaded,...
> Reports that a library was unloaded by the program. This notification
> has 3 fields---@var{id}, @var{target-name} and @var{host-name} with
> -the same meaning as for the @code{=library-loaded} notification
> +the same meaning as for the @code{=library-loaded} notification. The
> +@var{thread-group} field, if present, contains the id of the thread
> +group in which the library was loaded. If the field is absent,
^^^^^^
You mean "unloaded", right?
> +it means the library was loaded in all present thread groups.
^^^^^^
And here.
> -@samp{--all} is specified, all threads will be resumed. The
> +@samp{--all} is specified, all threads (in all inferiours) will be resumed.
^^^^^^^^^^
"inferiors" (here and elsewhere in this patch)
> +Identifier of the thread group. This field is always present. The
> +identifier is an opaque string, and is not necessary an integer.
^^^^^^^^^
"necessarily"
Also, "is an opaque string, and is not necessarily an integer" sounds
strange: if it's a string, how can it be an integer? Do you mean to
say that the string includes non-digit characters?
> +@item executable
> +The name of the executable file that corresponds to this thread group.
> +The field is only present for thread groups of type @samp{process},
> +and only if there is corresponding executable file.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"if there is a corresponding executable file".
> +inferior is not associated with any executable. Such associated may
> +be established with the @samp{-file-exec-and-symbols} command
"Such association may be established ..."
> +The inferior @var{inf} has been added to the list of inferiour. At
^^^^^^^^^
in observer.texi, too.
Thanks.
next prev parent reply other threads:[~2010-01-13 21:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-13 20:29 Vladimir Prus
2010-01-13 21:04 ` Eli Zaretskii [this message]
2010-02-19 19:54 ` Vladimir Prus
2010-02-19 21:06 ` Eli Zaretskii
2010-02-20 10:55 ` Vladimir Prus
2010-02-20 13:39 ` Eli Zaretskii
2010-02-08 19:20 ` Pedro Alves
2010-02-08 19:28 ` Pedro Alves
2010-02-20 11:59 ` Vladimir Prus
2010-02-19 20:16 ` Vladimir Prus
2010-02-22 12:16 ` Pedro Alves
2010-02-24 7:53 ` Vladimir Prus
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=83tyup7m3d.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=vladimir@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