[Pdbg] [PATCH v4 13/19] libpdbg: Add all thread procedures to pib target

Alistair Popple alistair at popple.id.au
Thu Apr 30 11:27:19 AEST 2020


Reviewed-by: Alistair Popple <alistair at popple.id.au>

On Tuesday, 21 April 2020 2:16:49 PM AEST Amitay Isaacs wrote:
> Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
> ---
>  libpdbg/hwunit.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/libpdbg/hwunit.h b/libpdbg/hwunit.h
> index dd41da7..f5a7dff 100644
> --- a/libpdbg/hwunit.h
> +++ b/libpdbg/hwunit.h
> @@ -94,6 +94,10 @@ struct pib {
>  	struct pdbg_target target;
>  	int (*read)(struct pib *, uint64_t, uint64_t *);
>  	int (*write)(struct pib *, uint64_t, uint64_t);
> +	int (*thread_start_all)(struct pib *);
> +	int (*thread_stop_all)(struct pib *);
> +	int (*thread_step_all)(struct pib *, int);
> +	int (*thread_sreset_all)(struct pib *);
>  	void *priv;
>  	int fd;
>  };






More information about the Pdbg mailing list