add sp to mips profile (#8958)

This commit is contained in:
Srimanta Barua 2017-12-05 16:09:13 +05:30 committed by radare
parent 389116ce34
commit 2d2c38bb2c

View File

@ -278,7 +278,9 @@ static int gdbr_parse_target_xml(libgdbr_t *g, char *xml_data, ut64 len) {
}
break;
case R_SYS_ARCH_MIPS:
if (!(profile = r_str_prefix (profile, "=PC pc\n"))) {
if (!(profile = r_str_prefix (profile,
"=PC pc\n"
"=SP r29\n"))) {
goto exit_err;
}
break;