[nemiver/gtk2-branch] Fix changed variable highlighting
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver/gtk2-branch] Fix changed variable highlighting
- Date: Sun, 20 Nov 2011 15:25:32 +0000 (UTC)
commit 6bcfab2cbed61e095645136fd77737bd9ca7ad4a
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]