This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] Add autoload-breakpoints [6/6] autoload-breakpoints doc
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Hui Zhu <hui_zhu at mentor dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 18 Apr 2012 21:53:19 +0300
- Subject: Re: [PATCH v2] Add autoload-breakpoints [6/6] autoload-breakpoints doc
- References: <4F8562EE.6080306@mentor.com> <4F8E9D3A.5000809@mentor.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 18 Apr 2012 18:53:46 +0800
> From: Hui Zhu <hui_zhu@mentor.com>
>
> +about autoload-breakpints from the stub.
^^^^^^^^^^
A typo.
> +enable or disable it. @value{GDBN} will create this breakpoint as
> +it have been created in the target. So when the target create the
> +breakpoint, it need insert this breakpoint with itself. ^^^^^^
^^^^^^^^^^^ ^^^^^^^^^^^
"creates", "needs to insert", and "by itself".
> +@item @var{id}@samp{:}@samp{R}
> +This is the remove packet.
> +@var{id} is the number of the autoload-breakpoint that this command
> +wants to remove, encoded as a hex string.
> +@value{GDBN} will remove this breakpoint as it have been removed in
> +the target.
I don't understand the last sentence. Please explain.
> So when the target remove the breakpoint, it need remove
> +this breakpoint with itself. ^^^^^^ ^^^^^^^^^^^
^^^^^^^^^^^
"removes", "needs to remove", and "by itself".
By the way, what non-trivial information does this sentence convey?
It seems to say "when the target removes the breakpoint, it needs to
remove the breakpoint", which is trivial. What am I missing here?
> +0 means all autoload-breakpoints.
This sentence should be moved right after the sentence that starts
with "@var{id} is the number of the autoload-breakpoint".
Thanks.