summaryrefslogtreecommitdiffstats
path: root/libpdbg/chip.c
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2017-12-05 13:31:07 +1100
committerAlistair Popple <alistair@popple.id.au>2017-12-06 11:19:36 +1100
commit07aa13ea742ee447d7b5d5c295116510f2918119 (patch)
treef71c357b32870a8a1a11fb78f2693f988f1eb9ff /libpdbg/chip.c
parent6b4b13bc13d0f49665113328a2657964ad905a77 (diff)
downloadpdbg-07aa13ea742ee447d7b5d5c295116510f2918119.tar.gz
pdbg-07aa13ea742ee447d7b5d5c295116510f2918119.zip
Rename struct target to struct pdbg_target
In preparation for a better defined libpdbg API rename "struct target" to something less generic so that we can export the name. Signed-off-by: Alistair Popple <alistair@popple.id.au>
Diffstat (limited to 'libpdbg/chip.c')
-rw-r--r--libpdbg/chip.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpdbg/chip.c b/libpdbg/chip.c
index 0dd2363..03dcdc7 100644
--- a/libpdbg/chip.c
+++ b/libpdbg/chip.c
@@ -88,7 +88,7 @@ uint64_t thread_status(struct thread *thread)
/*
* Single step the thread count instructions.
*/
-int ram_step_thread(struct target *thread_target, int count)
+int ram_step_thread(struct pdbg_target *thread_target, int count)
{
struct thread *thread;
@@ -97,7 +97,7 @@ int ram_step_thread(struct target *thread_target, int count)
return thread->step(thread, count);
}
-int ram_start_thread(struct target *thread_target)
+int ram_start_thread(struct pdbg_target *thread_target)
{
struct thread *thread;
@@ -106,7 +106,7 @@ int ram_start_thread(struct target *thread_target)
return thread->start(thread);
}
-int ram_stop_thread(struct target *thread_target)
+int ram_stop_thread(struct pdbg_target *thread_target)
{
struct thread *thread;
@@ -115,7 +115,7 @@ int ram_stop_thread(struct target *thread_target)
return thread->stop(thread);
}
-int ram_sreset_thread(struct target *thread_target)
+int ram_sreset_thread(struct pdbg_target *thread_target)
{
struct thread *thread;
OpenPOWER on IntegriCloud