[nemiver] Tighten IDebugger::Frame::operator=
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] Tighten IDebugger::Frame::operator=
- Date: Sun, 2 Oct 2011 19:23:00 +0000 (UTC)
commit d37ead9934cd5a1b5c0e0fc396b67a17b8f9e355
Author: Dodji Seketeli <dodji gnome org>
Date: Sun Oct 2 20:36:44 2011 +0200
Tighten IDebugger::Frame::operator=
* src/dbgengine/nmv-i-debugger.h (IDebugger::Frame::operator=):
Compare more than just the address of the frame.
src/dbgengine/nmv-i-debugger.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/dbgengine/nmv-i-debugger.h b/src/dbgengine/nmv-i-debugger.h
index e9c9057..4e8b2ed 100644
--- a/src/dbgengine/nmv-i-debugger.h
+++ b/src/dbgengine/nmv-i-debugger.h
@@ -288,7 +288,12 @@ public:
bool operator== (const Frame &a)
{
- return (address () == a.address ());
+ return (address () == a.address ()
+ && 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]