[nemiver/asm-support: 5/8] Const-ify some parms in IDebugger.
- From: Dodji Seketeli <dodji src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nemiver/asm-support: 5/8] Const-ify some parms in IDebugger.
- Date: Sun, 10 Jan 2010 22:18:23 +0000 (UTC)
commit cbcb17a6a4365b62db503d9cb2f7849fbf11619b
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 7979f63..9866d7f 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;
@@ -3125,7 +3125,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]