mirror of
https://github.com/ksherlock/mpw.git
synced 2025-07-26 18:24:06 +00:00
Debugger -load debug names
This commit is contained in:
@@ -55,6 +55,8 @@
|
|||||||
|
|
||||||
#include <mpw/mpw.h>
|
#include <mpw/mpw.h>
|
||||||
|
|
||||||
|
#include <toolbox/loader.h>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
const uint32_t kGlobalSize = 0x10000;
|
const uint32_t kGlobalSize = 0x10000;
|
||||||
@@ -842,6 +844,14 @@ void Shell()
|
|||||||
|
|
||||||
add_history("!Andy, it still has history!");
|
add_history("!Andy, it still has history!");
|
||||||
|
|
||||||
|
|
||||||
|
Loader::Native::LoadDebugNames(envMap);
|
||||||
|
|
||||||
|
//for (const auto &kv : envMap)
|
||||||
|
//{
|
||||||
|
// printf("%06x: %s\n", kv.second, kv.first.c_str());
|
||||||
|
//}
|
||||||
|
|
||||||
envMap = LoadTrapFile(MPW::RootDirPathForFile("Traps.text"));
|
envMap = LoadTrapFile(MPW::RootDirPathForFile("Traps.text"));
|
||||||
|
|
||||||
// start it up
|
// start it up
|
||||||
|
Reference in New Issue
Block a user