From 2d2c38bb2cbd6de73fbdf46080282132a42a3cf0 Mon Sep 17 00:00:00 2001 From: Srimanta Barua Date: Tue, 5 Dec 2017 16:09:13 +0530 Subject: [PATCH] add sp to mips profile (#8958) --- shlr/gdb/src/gdbclient/xml.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shlr/gdb/src/gdbclient/xml.c b/shlr/gdb/src/gdbclient/xml.c index 8839c6111c..f1efbe49c2 100644 --- a/shlr/gdb/src/gdbclient/xml.c +++ b/shlr/gdb/src/gdbclient/xml.c @@ -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;