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

Amitay Isaacs amitay at ozlabs.org
Thu Apr 30 12:34:34 AEST 2020


Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
Reviewed-by: Alistair Popple <alistair at popple.id.au>
---
 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;
 };
-- 
2.25.4



More information about the Pdbg mailing list