diff --git a/bin/debugger.cpp b/bin/debugger.cpp index 145e5e6..7a5fe89 100644 --- a/bin/debugger.cpp +++ b/bin/debugger.cpp @@ -76,6 +76,8 @@ namespace { ToolMap tbrkMap; // tool breaks. std::map SymbolTable; + std::map ErrorTable; + std::map GlobalTable; std::map TrapTable; void hexdump(const uint8_t *data, ssize_t size, uint32_t address = 0) @@ -992,11 +994,8 @@ void Shell() Loader::Native::LoadDebugNames(SymbolTable); - //for (const auto &kv : SymbolTable) - //{ - // printf("%06x: %s\n", kv.second, kv.first.c_str()); - //} - + LoadTrapFile(MPW::RootDirPathForFile("Errors.text"), ErrorTable); + LoadTrapFile(MPW::RootDirPathForFile("Globals.text"), GlobalTable); LoadTrapFile(MPW::RootDirPathForFile("Traps.text"), TrapTable); // start it up