This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Target-defined breakpoints (autoload breakpoints) [8/9] target-defined breakpoint sync function doc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]