diff options
author | Alistair Popple <alistair@popple.id.au> | 2018-10-25 16:38:26 +1100 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-11-09 11:27:47 +1100 |
commit | 82bd8aefa25318c03a269f6863142525010260e4 (patch) | |
tree | a9f23b0b31779c86ed5f133cd0e62a2f3e17b394 /libpdbg/p8chip.c | |
parent | 541331dc5e346e45217caf3fcdf3f00479ef05a9 (diff) | |
download | pdbg-82bd8aefa25318c03a269f6863142525010260e4.tar.gz pdbg-82bd8aefa25318c03a269f6863142525010260e4.zip |
libpdbg: Rework target compatible
Rework the target compatible code to reuse existing libpdbg code where
possible. Renames and exports these functions for use by external
libraries.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Reviewed-by: Amitay Isaacs <amitay@ozlabs.org>
Diffstat (limited to 'libpdbg/p8chip.c')
-rw-r--r-- | libpdbg/p8chip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpdbg/p8chip.c b/libpdbg/p8chip.c index f3e71a0..914c335 100644 --- a/libpdbg/p8chip.c +++ b/libpdbg/p8chip.c @@ -355,7 +355,7 @@ static int p8_ram_setup(struct thread *thread) /* We can only ram a thread if all the threads on the core/chip are * quiesced */ - dt_for_each_compatible(&chip->target, target, "ibm,power8-thread") { + pdbg_for_each_compatible(&chip->target, target, "ibm,power8-thread") { struct thread *tmp; /* If this thread wasn't enabled it may not yet have been probed |