BreakPoints: In-class initialize TMemCheck members
Same thing, less code.
This commit is contained in:
parent
a3bef102b7
commit
588374349f
|
@ -20,25 +20,18 @@ struct TBreakPoint
|
||||||
|
|
||||||
struct TMemCheck
|
struct TMemCheck
|
||||||
{
|
{
|
||||||
TMemCheck()
|
u32 StartAddress = 0;
|
||||||
{
|
u32 EndAddress = 0;
|
||||||
numHits = 0;
|
|
||||||
StartAddress = EndAddress = 0;
|
|
||||||
bRange = OnRead = OnWrite = Log = Break = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
u32 StartAddress;
|
bool bRange = false;
|
||||||
u32 EndAddress;
|
|
||||||
|
|
||||||
bool bRange;
|
bool OnRead = false;
|
||||||
|
bool OnWrite = false;
|
||||||
|
|
||||||
bool OnRead;
|
bool Log = false;
|
||||||
bool OnWrite;
|
bool Break = false;
|
||||||
|
|
||||||
bool Log;
|
u32 numHits = 0;
|
||||||
bool Break;
|
|
||||||
|
|
||||||
u32 numHits;
|
|
||||||
|
|
||||||
// returns whether to break
|
// returns whether to break
|
||||||
bool Action(DebugInterface* dbg_interface, u32 _iValue, u32 addr, bool write, int size, u32 pc);
|
bool Action(DebugInterface* dbg_interface, u32 _iValue, u32 addr, bool write, int size, u32 pc);
|
||||||
|
|
Loading…
Reference in New Issue