Hello, While looking at something else, I noticed that DBGPerspective::on_debugger_breakpoints_set_signal was walking the list of breakpoints and setting them one by one instead of using the DBGPerspective::append_breakpoints function that does just that.
Fixed thus, applied to master and gtk2-branch. From: Dodji Seketeli <[email protected]> Date: Sun, 4 Sep 2011 21:31:30 +0200 Subject: [PATCH 1/4] Use DBGPerspective::append_breakpoints * src/persp/dbgperspective/nmv-dbg-perspective.cc (DBGPerspective::on_debugger_breakpoints_set_signal): Use DBGPerspective::append_breakpoints instead of walking the breakpoints and appending them one by one. --- src/persp/dbgperspective/nmv-dbg-perspective.cc | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc index 31fd501..66a95cc 100644 --- a/src/persp/dbgperspective/nmv-dbg-perspective.cc +++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc @@ -2350,9 +2350,7 @@ DBGPerspective::on_debugger_breakpoints_set_signal (const std::map<int, IDebugger::Breakpoint> &a, const UString&) { - std::map<int, IDebugger::Breakpoint>::const_iterator i; - for (i = a.begin (); i != a.end (); ++i) - append_breakpoint (i->second); + append_breakpoints (a); } void -- Dodji _______________________________________________ nemiver-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/nemiver-list
