mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-31 10:22:37 +00:00
Handle asm.bits=27 in rasm2 -L
This commit is contained in:
parent
7a74331c1e
commit
3f9232d5de
@ -91,10 +91,14 @@ static void rasm2_list(RAsm *la, const char *arch) {
|
||||
}
|
||||
} else {
|
||||
bits[0] = 0;
|
||||
if (h->bits & 8) strcat (bits, "8 ");
|
||||
if (h->bits & 16) strcat (bits, "16 ");
|
||||
if (h->bits & 32) strcat (bits, "32 ");
|
||||
if (h->bits & 64) strcat (bits, "64 ");
|
||||
if (h->bits == 27) {
|
||||
strcat (bits, "27");
|
||||
} else {
|
||||
if (h->bits & 8) strcat (bits, "8 ");
|
||||
if (h->bits & 16) strcat (bits, "16 ");
|
||||
if (h->bits & 32) strcat (bits, "32 ");
|
||||
if (h->bits & 64) strcat (bits, "64 ");
|
||||
}
|
||||
feat = "__";
|
||||
if (h->assemble && h->disassemble) feat = "ad";
|
||||
if (h->assemble && !h->disassemble) feat = "a_";
|
||||
|
@ -1441,11 +1441,6 @@ R_API int r_debug_child_clone(RDebug *dbg) {
|
||||
|
||||
R_API bool r_debug_is_dead (RDebug *dbg) {
|
||||
bool is_dead = (dbg->pid == -1 && strncmp (dbg->h->name, "gdb", 3)) || (dbg->reason.type == R_DEBUG_REASON_DEAD);
|
||||
#if 0
|
||||
if (!strncmp (dbg->h->name, "clcy", 4)) {
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
if (dbg->pid > 0) {
|
||||
is_dead = !dbg->h->kill (dbg, dbg->pid, false, 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user