nemiver r697 - in trunk: . src/dbgengine
- From: dodji svn gnome org
- To: svn-commits-list gnome org
- Subject: nemiver r697 - in trunk: . src/dbgengine
- Date: Thu, 17 Jan 2008 22:07:56 +0000 (GMT)
Author: dodji
Date: Thu Jan 17 22:07:55 2008
New Revision: 697
URL: http://svn.gnome.org/viewvc/nemiver?rev=697&view=rev
Log:
[gdb engine] code cleanup
Modified:
trunk/ChangeLog
trunk/src/dbgengine/nmv-gdb-engine.cc
trunk/src/dbgengine/nmv-i-debugger.h
Modified: trunk/src/dbgengine/nmv-gdb-engine.cc
==============================================================================
--- trunk/src/dbgengine/nmv-gdb-engine.cc (original)
+++ trunk/src/dbgengine/nmv-gdb-engine.cc Thu Jan 17 22:07:55 2008
@@ -1458,8 +1458,12 @@
map<string, bool> recorded_var_names;
list<IDebugger::VariableSafePtr>::const_iterator var_it;
GDBEngine::VarsPerFilesMap::const_iterator it;
- for (it = vars_per_files_map.begin (); it != vars_per_files_map.end (); ++it) {
- for (var_it = it->second.begin (); var_it != it->second.end (); ++var_it) {
+ for (it = vars_per_files_map.begin ();
+ it != vars_per_files_map.end ();
+ ++it) {
+ for (var_it = it->second.begin ();
+ var_it != it->second.end ();
+ ++var_it) {
if (recorded_var_names.find ((*var_it)->name ().raw ())
!= recorded_var_names.end ()) {
//make sure to avoid duplicated global variables names.
Modified: trunk/src/dbgengine/nmv-i-debugger.h
==============================================================================
--- trunk/src/dbgengine/nmv-i-debugger.h (original)
+++ trunk/src/dbgengine/nmv-i-debugger.h Thu Jan 17 22:07:55 2008
@@ -308,7 +308,11 @@
}
const UString& name () const {return m_name;}
- void name (const UString &a_name) {m_name_caption = m_name = a_name;}
+ void name (const UString &a_name)
+ {
+ m_name_caption = a_name;
+ m_name = a_name;
+ }
const UString& name_caption () const {return m_name_caption;}
void name_caption (const UString &a_n) {m_name_caption = a_n;}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]