mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-03 19:59:09 +00:00
Reuse 6502 regsize hack for AVR
This commit is contained in:
parent
77eb8656a4
commit
4c21937caa
@ -1499,6 +1499,9 @@ static void __anal_reg_list(RCore *core, int type, int size, char mode) {
|
||||
if (core->anal->cur->arch && !strcmp (core->anal->cur->arch, "6502") && bits == 8) {
|
||||
r_debug_reg_list (core->dbg, R_REG_TYPE_GPR, 16, mode, use_color); // XXX detect which one is current usage
|
||||
}
|
||||
if (core->anal->cur->arch && !strcmp (core->anal->cur->arch, "avr") && bits == 8) {
|
||||
r_debug_reg_list (core->dbg, R_REG_TYPE_GPR, 16, mode, use_color); // XXX detect which one is current usage
|
||||
}
|
||||
if (mode == '=') {
|
||||
int pcbits = 0;
|
||||
const char *pcname = r_reg_get_name (core->anal->reg, R_REG_NAME_PC);
|
||||
|
Loading…
x
Reference in New Issue
Block a user