This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/3] Added command remove-symbol-file.
- From: Yao Qi <yao at codesourcery dot com>
- To: "Blanc, Nicolas" <nicolas dot blanc at intel dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, Tom Tromey <tromey at redhat dot com>, Pedro Alves <palves at redhat dot com>
- Date: Fri, 26 Apr 2013 14:10:20 +0800
- Subject: Re: [PATCH 1/3] Added command remove-symbol-file.
- References: <1366098721-18302-1-git-send-email-nicolas dot blanc at intel dot com> <1366098721-18302-2-git-send-email-nicolas dot blanc at intel dot com> <87fvygnfl0 dot fsf at fleche dot redhat dot com> <388084C8C1E6A64FA36AD1D656E4856619DEF314 at IRSMSX102 dot ger dot corp dot intel dot com>
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 (éå)