[nemiver/follow-fork-mode: 5/35] Const-ify some parms in IDebugger.
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver/follow-fork-mode: 5/35] Const-ify some parms in IDebugger.
- Date: Thu, 6 May 2010 10:16:30 +0000 (UTC)
commit d05fa545b5b9dbf62aa469a4253d9ed41227a4ac
Author: Dodji Seketeli <dodji redhat com>
Date: Sun Jan 10 16:13:50 2010 +0100
Const-ify some parms in IDebugger.
* src/dbgengine/nmv-i-debugger.h
(IDebugger::instructions_disassembled_signal): Const-ify the
IDebugger::DisassembleInfo parameter.
src/dbgengine/nmv-gdb-engine.cc | 4 ++--
src/dbgengine/nmv-gdb-engine.h | 2 +-
src/dbgengine/nmv-i-debugger.h | 5 ++---
3 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/src/dbgengine/nmv-gdb-engine.cc b/src/dbgengine/nmv-gdb-engine.cc
index 5a16c7e..cc74a51 100644
--- a/src/dbgengine/nmv-gdb-engine.cc
+++ b/src/dbgengine/nmv-gdb-engine.cc
@@ -269,7 +269,7 @@ public:
set_memory_signal;
mutable sigc::signal<void,
- IDebugger::DisassembleInfo&,
+ const IDebugger::DisassembleInfo&,
const std::list<IDebugger::AsmInstr>&,
const UString& /*cookie*/> instructions_disassembled_signal;
@@ -3134,7 +3134,7 @@ GDBEngine::program_finished_signal () const
}
sigc::signal<void,
- IDebugger::DisassembleInfo&,
+ const IDebugger::DisassembleInfo&,
const std::list<IDebugger::AsmInstr>&,
const UString& /*cookie*/>&
GDBEngine::instructions_disassembled_signal () const
diff --git a/src/dbgengine/nmv-gdb-engine.h b/src/dbgengine/nmv-gdb-engine.h
index 9dd6580..23a5f33 100644
--- a/src/dbgengine/nmv-gdb-engine.h
+++ b/src/dbgengine/nmv-gdb-engine.h
@@ -175,7 +175,7 @@ public:
sigc::signal <void, size_t, const std::vector<uint8_t>&, const UString& >&
set_memory_signal () const;
sigc::signal<void,
- IDebugger::DisassembleInfo&,
+ const IDebugger::DisassembleInfo&,
const std::list<IDebugger::AsmInstr>&,
const UString& /*cookie*/>&
instructions_disassembled_signal () const;
diff --git a/src/dbgengine/nmv-i-debugger.h b/src/dbgengine/nmv-i-debugger.h
index 9b40c5d..4f40a16 100644
--- a/src/dbgengine/nmv-i-debugger.h
+++ b/src/dbgengine/nmv-i-debugger.h
@@ -1029,10 +1029,9 @@ public:
// TODO: export informations about what file is being disassembled,
// what function, which line (if possible) etc.
- // So that the code receiving the signal can adjust accordingly,
- // without having to fidle with
+ // So that the code receiving the signal can adjust accordingly
virtual sigc::signal<void,
- IDebugger::DisassembleInfo&,
+ const IDebugger::DisassembleInfo&,
const std::list<IDebugger::AsmInstr>&,
const UString& /*cookie*/>&
instructions_disassembled_signal () const = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]