mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
ide: Fixed PDB debugger
git-svn-id: svn://ultimatepp.org/upp/trunk@9216 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
28f406cfab
commit
b259c8fac5
2 changed files with 5 additions and 5 deletions
|
|
@ -268,7 +268,7 @@ Pdb::Pdb()
|
|||
cpu.ItemHeight(Courier(Ctrl::HorzLayoutZoom(12)).GetCy());
|
||||
cpu.SetDisplay(Single<CpuRegisterDisplay>());
|
||||
|
||||
memory.cdb = this;
|
||||
memory.pdb = this;
|
||||
|
||||
dlock = " Running..";
|
||||
dlock.SetFrame(BlackFrame());
|
||||
|
|
|
|||
|
|
@ -53,12 +53,12 @@ struct Pdb : Debugger, ParentCtrl {
|
|||
char data[1024];
|
||||
};
|
||||
|
||||
struct CdbHexView : HexView {
|
||||
Pdb *cdb;
|
||||
struct PdbHexView : HexView {
|
||||
Pdb *pdb;
|
||||
|
||||
virtual int Byte(int64 addr) { return cdb->Byte((adr_t)addr); }
|
||||
virtual int Byte(int64 addr) { return pdb ? pdb->Byte((adr_t)addr) : 0; }
|
||||
|
||||
CdbHexView() { SetTotal(0x80000000); }
|
||||
PdbHexView() { pdb = NULL; SetTotal(0x80000000); }
|
||||
}
|
||||
memory;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue