[Pdbg] [PATCH 8/8] pdbg: Make return codes consistent for get/put registers
Rashmica Gupta
rashmica.g at gmail.com
Fri Jun 22 14:51:16 AEST 2018
---
src/reg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/reg.c b/src/reg.c
index 60705f1..679bf45 100644
--- a/src/reg.c
+++ b/src/reg.c
@@ -104,7 +104,7 @@ static int getprocreg(struct pdbg_target *target, uint32_t index, uint64_t *reg,
print_proc_reg(target, *reg, value, rc);
- return !rc;
+ return rc;
}
static int getgpr(int gpr)
--
2.14.4
More information about the Pdbg
mailing list