diff mbox series

libpdbg/p8chip: Add in debug messages

Message ID 20181005034551.1296-1-rashmica.g@gmail.com
State Accepted
Headers show
Series libpdbg/p8chip: Add in debug messages | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success master/apply_patch Successfully applied
snowpatch_ozlabs/build-multiarch fail Test build-multiarch on branch master

Commit Message

Rashmica Gupta Oct. 5, 2018, 3:45 a.m. UTC
---
 libpdbg/p8chip.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/libpdbg/p8chip.c b/libpdbg/p8chip.c
index 2f1d599..f6df925 100644
--- a/libpdbg/p8chip.c
+++ b/libpdbg/p8chip.c
@@ -514,8 +514,11 @@  static int p8_enable_attn(struct pdbg_target *target)
 		PR_ERROR("Unable to get HID0\n");
 		return 1;
 	}
+	PR_INFO("HID0 was 0x%"PRIx64 " \n", hid0);
+
 	hid0 |= EN_ATTN;
 
+	PR_INFO("writing 0x%"PRIx64 " to HID0\n", hid0);
 	if (p8_put_hid0(core, hid0)) {
 		PR_ERROR("Unable to set HID0\n");
 		return 1;