nemiver r534 - in trunk: . src/dbgengine src/persp/dbgperspective



Author: jjongsma
Date: 2007-07-22 22:05:00 +0100 (Sun, 22 Jul 2007)
New Revision: 534
ViewCVS link: http://svn.gnome.org/viewcvs/nemiver?rev=534&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/dbgengine/nmv-dbg-common.h
   trunk/src/persp/dbgperspective/nmv-registers-view.cc
Log:
Fix bug in listing registers caused by uninitialized data members
	* src/dbgengine/nmv-dbg-common.h: fixed bug where some flags were not
	initialized before use which was causing some seemingly random failures,
	noticed first in the fact that the register names no longer were populated
	in the register view because m_has_register_names apparently sometimes was
	initialized to true so the handler would be called (and thus emit a signal
	without any register names) for unrelated gdb output.
	* src/dbgengine/nmv-gdb-engine.cc: switch the order of a couple things to
	reduce race conditions.  At first I thought this was the problem but it
	wasn't.  It doesn't hurt to leave it this way though.
	* src/persp/dbgperspective/nmv-registers-view.cc: add some logging to aid in
	debugging.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]