[Pdbg] [PATCH 8/8] pdbg: Make return codes consistent for get/put registers

Michael Neuling mikey at neuling.org
Fri Jun 22 16:56:58 AEST 2018


This is missing a signed-off-by.


On Fri, 2018-06-22 at 14:51 +1000, Rashmica Gupta wrote:
> ---
>  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