[nemiver] Fix changed variable highlighting
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] Fix changed variable highlighting
- Date: Sun, 13 Nov 2011 18:41:23 +0000 (UTC)
commit 1876521f0efeaf3508ce512204b2cb0e7f5cbad4
Author: Dodji Seketeli <dodji seketeli org>
Date: Sun Nov 13 19:32:32 2011 +0100
Fix changed variable highlighting
* src/dbgengine/nmv-i-debugger.h (Frame::operator==): Ignore
line number and instruction pointer when comparing two frames.
src/dbgengine/nmv-i-debugger.h | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/dbgengine/nmv-i-debugger.h b/src/dbgengine/nmv-i-debugger.h
index b204c3e..6fb5fff 100644
--- a/src/dbgengine/nmv-i-debugger.h
+++ b/src/dbgengine/nmv-i-debugger.h
@@ -288,11 +288,9 @@ public:
bool operator== (const Frame &a) const
{
- return (address () == a.address ()
- && level () == a.level ()
+ return (level () == a.level ()
&& function_name () == a.function_name ()
&& file_name () == a.file_name ()
- && line () == a.line ()
&& library () == a.library ());
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]