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: Tom Tromey <tromey at redhat 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>, Pedro Alves <palves at redhat dot com>
- Date: Thu, 25 Apr 2013 08:14:26 -0600
- 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>
Tom> I liked Yao's comment about notifying just once per breakpoint.
Tom> It doesn't seem difficult to do that.
Nicolas> Ok I'll use a list of breakpoints to collect first the
Nicolas> breakpoints to notify.
I think another way is to loop over all breakpoints and then examine
their locations. That way you don't have to keep a separate list of
breakpoints to notify -- you can just decide about the current
breakpoint after the inner loop.
Tom