[nemiver/follow-fork-mode: 32/35] Flag pending breakpoints as such
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver/follow-fork-mode: 32/35] Flag pending breakpoints as such
- Date: Thu, 6 May 2010 10:18:47 +0000 (UTC)
commit c5b6d71a41fa8183dd473711d1fc3b0a5fba775e
Author: Dodji Seketeli <dodji gnome org>
Date: Wed Apr 28 21:56:51 2010 +0200
Flag pending breakpoints as such
* src/persp/dbgperspective/nmv-breakpoints-view.cc
(BreakpointsView::Priv::update_breakpoint): If the breakpoint
has an empty address, it means it's pending. Write a PENDING
string in the bp's address column. This fixes a regression
introduced during the move to the new Address type.
src/persp/dbgperspective/nmv-breakpoints-view.cc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-breakpoints-view.cc b/src/persp/dbgperspective/nmv-breakpoints-view.cc
index 34263a4..2dc5ed5 100644
--- a/src/persp/dbgperspective/nmv-breakpoints-view.cc
+++ b/src/persp/dbgperspective/nmv-breakpoints-view.cc
@@ -274,7 +274,10 @@ public:
(*a_iter)[get_bp_cols ().enabled] = a_breakpoint.enabled ();
(*a_iter)[get_bp_cols ().id] = a_breakpoint.number ();
(*a_iter)[get_bp_cols ().function] = a_breakpoint.function ();
- (*a_iter)[get_bp_cols ().address] = a_breakpoint.address ().to_string ();
+ (*a_iter)[get_bp_cols ().address] =
+ (a_breakpoint.address ().empty ())
+ ? "<PENDING>"
+ : a_breakpoint.address ().to_string ();
(*a_iter)[get_bp_cols ().filename] = a_breakpoint.file_name ();
(*a_iter)[get_bp_cols ().line] = a_breakpoint.line ();
(*a_iter)[get_bp_cols ().condition] = a_breakpoint.condition ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]