unsigned char b[4];
long given;
int status;
- asymbol * saved_symbol;
coff_symbol_type * cs;
int is_thumb;
- cs = coffsymbol (info->symbol);
- is_thumb =
+ cs = coffsymbol (*info->symbols);
+ is_thumb = (cs != NULL) &&
( cs->native->u.syment.n_sclass == C_THUMBEXT
|| cs->native->u.syment.n_sclass == C_THUMBSTAT
|| cs->native->u.syment.n_sclass == C_THUMBLABEL
status = print_insn_arm (pc, info, given);
}
- info->symbol = saved_symbol; /* Stop displayed symbols from resetting the stored symbol */
-
return status;
}
unsigned char b[4];
long given;
int status;
- asymbol * saved_symbol;
coff_symbol_type * cs;
int is_thumb;
- cs = coffsymbol (info->symbol);
- is_thumb =
+ cs = coffsymbol (*info->symbols);
+ is_thumb = (cs != NULL) &&
( cs->native->u.syment.n_sclass == C_THUMBEXT
|| cs->native->u.syment.n_sclass == C_THUMBSTAT
|| cs->native->u.syment.n_sclass == C_THUMBLABEL
given = (b[0]) | (b[1] << 8) | (b[2] << 16) | (b[3] << 24);
- saved_symbol = info->symbol;
-
if (is_thumb)
{
status = print_insn_thumb (pc, info, given);
status = print_insn_arm (pc, info, given);
}
- info->symbol = saved_symbol; /* Stop displayed symbols from resetting the stored symbol */
-
return status;
}