mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-22 15:31:50 +00:00
debugger templates - include address.
This commit is contained in:
parent
29b780c712
commit
8bfff02114
@ -210,8 +210,8 @@ namespace Debug {
|
|||||||
unsigned s = (type & 0x0f00) >> 8;
|
unsigned s = (type & 0x0f00) >> 8;
|
||||||
|
|
||||||
for (unsigned i = 0; i < indent; ++i) fputc('>',stdout);
|
for (unsigned i = 0; i < indent; ++i) fputc('>',stdout);
|
||||||
fputs(e->name->c_str(),stdout);
|
printf("%08x %s", address + offset, e->name->c_str());
|
||||||
for(unsigned i = indent + e->name->length(); i < 40; ++i) fputc(' ',stdout);
|
for(unsigned i = indent + e->name->length(); i < 32; ++i) fputc(' ',stdout);
|
||||||
|
|
||||||
// todo -- support arrays
|
// todo -- support arrays
|
||||||
// todo -- pretty print values (boolean, oserr, ostype, etc.)
|
// todo -- pretty print values (boolean, oserr, ostype, etc.)
|
||||||
|
Loading…
Reference in New Issue
Block a user