This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Target-defined breakpoints (autoload breakpoints) [8/9] target-defined breakpoint sync function doc
- From: Hui Zhu <teawater at gmail dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: Hui Zhu <hui_zhu at mentor dot com>, gdb-patches at sourceware dot org, stan_shebs at mentor dot com
- Date: Tue, 30 Oct 2012 17:49:18 +0800
- Subject: Re: [RFC] Target-defined breakpoints (autoload breakpoints) [8/9] target-defined breakpoint sync function doc
- References: <5088036C.7090304@mentor.com> <83objqa2vl.fsf@gnu.org>
Thanks for your help.
On Fri, Oct 26, 2012 at 1:16 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Wed, 24 Oct 2012 23:04:12 +0800
>> From: Hui Zhu <hui_zhu@mentor.com>
>> CC: Stan Shebs <stan_shebs@mentor.com>, Eli Zaretskii <eliz@gnu.org>
>>
>> This is the doc for target-defined breakpoint sync function.
>
> Thanks.
>
>> 2012-10-24 Hui Zhu <hui_zhu@mentor.com>
>>
>> * gdb.texinfo (Setting Breakpoints): Add target-defined breakpoints sync function.
>
> You don't add functions to the manual, so this sentence should say
> something like "Document asynchronous notifications about target-side
> breakpoints."
OK.
>
>> +The other use case we want to support in @value{GDBN} is that inferior
>> +may add/set/delete breakpoints on its own, and remote target gets
>> +@value{GDBN} notified, and @value{GDBN} can take some actions accordingly.
>
> In addition, when inferior add/set/delete breakpoints on its own, it
> notifies @value{GDBN}, so that @value{GDBN} could take the
> appropriate actions.
>
>> +We call these asynchronous reports about changes in the remote-side
>> +breakpoints @pxref{Notification Packets}.
>
> We call these asynchronous reports about changes in the remote-side
> breakpoints @dfn{notification packets} (@pxref{Notification Packets}).
>
What's about change "remote-side" to "target-defined"?
> OK with those changes.
Post a new version according to your comments.
Best,
Hui
2012-10-30 Hui Zhu <hui_zhu@mentor.com>
* gdb.texinfo (Setting Breakpoints): Document asynchronous notifications
about target-defined breakpoints.
--- a/doc/gdb.texinfo
+++ b/doc/gdb.texinfo
@@ -3811,6 +3811,12 @@ by the program itself through some speci
connects to target, it should handle these existing breakpoints from
remote target. We call these breakpoints @dfn{target-defined-breakpoints}.
+In addition, when inferior add/set/delete breakpoints on its own, it
+notifies @value{GDBN}, so that @value{GDBN} could take the
+appropriate actions.
+We call these asynchronous reports about changes in the target-defined
+breakpoints @dfn{notification packets} (@pxref{Notification Packets}).
+
This feature can be controlled via the following commands:
@kindex set breakpoint target-defined