Assume sysgdb:// implies -d ##debug

This commit is contained in:
Sergi Àlvarez i Capilla 2023-11-12 20:21:17 +01:00
parent 6e533ae2a6
commit 9ce6cf70ab

View File

@ -1265,6 +1265,9 @@ R_API int r_main_radare2(int argc, const char **argv) {
if (mr.asmos) {
r_config_set (r->config, "asm.os", mr.asmos);
}
if (strstr (mr.pfile, "sysgdb://")) {
mr.debug = 2;
}
if (mr.debug) {
if (mr.asmbits) {
r_config_set (r->config, "asm.bits", mr.asmbits);