Register all loaded modules with GDBStub
This commit is contained in:
@@ -116,6 +116,7 @@ bool AppLoader_NRO::LoadNro(const std::string& path, VAddr load_base) {
|
||||
codeset->memory = std::make_shared<std::vector<u8>>(std::move(program_image));
|
||||
Core::CurrentProcess()->LoadModule(codeset, load_base);
|
||||
|
||||
// Register module with GDBStub
|
||||
std::string filename;
|
||||
Common::SplitPath(codeset->name, nullptr, &filename, nullptr);
|
||||
GDBStub::RegisterModule((filename + ".elf").c_str(), load_base, load_base);
|
||||
|
||||
Reference in New Issue
Block a user