[Pdbg] [PATCH 01/19] pdbg: Fix function call for putnia command
Rashmica Gupta
rashmica.g at gmail.com
Wed Aug 29 11:50:29 AEST 2018
Signed-off-by: Rashmica Gupta <rashmica.g at gmail.com>
---
src/reg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/reg.c b/src/reg.c
index aa77a8a..c63f6da 100644
--- a/src/reg.c
+++ b/src/reg.c
@@ -116,7 +116,7 @@ OPTCMD_DEFINE_CMD(getnia, getnia);
static int putnia(uint64_t nia)
{
uint64_t reg = REG_NIA;
- return for_each_target("thread", getprocreg, ®, &nia);
+ return for_each_target("thread", putprocreg, ®, &nia);
}
OPTCMD_DEFINE_CMD_WITH_ARGS(putnia, putnia, (DATA));
--
2.14.4
More information about the Pdbg
mailing list