ide: Pdb: Fixed memory pane issue in win64 debugging

git-svn-id: svn://ultimatepp.org/upp/trunk@10004 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-07-03 15:49:18 +00:00
parent 856509b724
commit d16d455171
2 changed files with 6 additions and 1 deletions

View file

@ -125,6 +125,11 @@ bool Pdb::Create(One<Host> local, const String& exefile, const String& cmdline)
#else
win64 = false;
#endif
if(win64)
memory.SetTotal(I64(0xffffffffffff));
else
memory.SetTotal(0x80000000);
CloseHandle(pi.hThread);

View file

@ -58,7 +58,7 @@ struct Pdb : Debugger, ParentCtrl {
virtual int Byte(int64 addr) { return pdb ? pdb->Byte((adr_t)addr) : 0; }
PdbHexView() { pdb = NULL; SetTotal(0x80000000); }
PdbHexView() { pdb = NULL; }
}
memory;