Fix the fix for dmh after ood ##debug

This commit is contained in:
Armin Weihbold 2024-03-22 23:23:23 +01:00 committed by GitHub
parent fe6ab75db6
commit 180fea967b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1442,6 +1442,7 @@ R_API void r_core_file_reopen_remote_debug(RCore *core, char *uri, ut64 addr) {
return;
}
core->dbg->main_arena_resolved = false;
RList *old_sections = __save_old_sections (core);
ut64 old_base = core->bin->cur->bo->baddr_shift;
int bits = core->rasm->config->bits;
@ -1512,6 +1513,7 @@ R_API void r_core_file_reopen_debug(RCore *core, const char *args) {
return;
}
core->dbg->main_arena_resolved = false;
RList *old_sections = __save_old_sections (core);
ut64 old_base = (core->bin->cur && core->bin->cur->bo)? core->bin->cur->bo->baddr_shift: 0;
int bits = core->rasm->config->bits;

View File

@ -686,8 +686,6 @@ R_API bool r_debug_select(RDebug *dbg, int pid, int tid) {
core->offset = r_debug_reg_get (dbg, "PC");
}
dbg->main_arena_resolved = false;
return true;
}