mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
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:
parent
856509b724
commit
d16d455171
2 changed files with 6 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue