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: [PATCH 1/3] Added command remove-symbol-file.


On 04/25/2013 08:48 PM, Blanc, Nicolas wrote:
Tom> I liked Yao's comment about notifying just once per breakpoint.  It doesn't seem difficult to do that.
Nicolas> Ok I'll use a list of breakpoints to collect first the breakpoints to notify.

You may have a look at tracepoint.c:merge_uploaded_tracepoints, and see how to notify once for one breakpoint. We use a vector 'modified_tp' there to save the modified breakpoint uniquely, iterate over it, and call observer_notify_breakpoint_modified. Hope it helps.

--
Yao (éå)


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