Skip to content

Commit

Permalink
kissdbg
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jan 3, 2025
1 parent e18009a commit bab6e1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libr/core/cconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -858,9 +858,6 @@ static bool cb_asmbits(void *user, void *data) {
if (!bits) {
return false;
}
if (bits == 256) {
r_sys_breakpoint ();
}
if (bits == core->rasm->config->bits && bits == core->dbg->bits) {
// early optimization
return true;
Expand Down
2 changes: 2 additions & 0 deletions libr/debug/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ R_API bool r_debug_set_arch(RDebug *dbg, const char *arch, int bits) {
dbg->bits = R_SYS_BITS_PACK (64);
break;
}
#if 0
if (plugin->bits) {
if (R_SYS_BITS_CHECK (plugin->bits, 64)) {
dbg->bits = R_SYS_BITS_PACK (64);
Expand All @@ -516,6 +517,7 @@ R_API bool r_debug_set_arch(RDebug *dbg, const char *arch, int bits) {
} else {
dbg->bits = R_SYS_BITS;
}
#endif
free (dbg->arch);
dbg->arch = strdup (arch);
return true;
Expand Down

0 comments on commit bab6e1c

Please sign in to comment.