Message ID | 20181005034551.1296-1-rashmica.g@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | libpdbg/p8chip: Add in debug messages | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | master/apply_patch Successfully applied |
snowpatch_ozlabs/build-multiarch | fail | Test build-multiarch on branch master |
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;