aboutsummaryrefslogtreecommitdiff
path: root/src/target/target.c
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2019-01-31 12:20:34 -0800
committerGitHub <noreply@github.com>2019-01-31 12:20:34 -0800
commitc554246177bb8b2b03ca584847c4ffc2b2f7bb4b (patch)
tree06363f4f91895e77bcafc5fae89a34de95fa4c14 /src/target/target.c
parent14327c1acf60d41c2bd2fa3e482063f5bbaf88ab (diff)
parent220a97979fa0f4253325d482b287a90851d5b95c (diff)
downloadriscv-openocd-c554246177bb8b2b03ca584847c4ffc2b2f7bb4b.zip
riscv-openocd-c554246177bb8b2b03ca584847c4ffc2b2f7bb4b.tar.gz
riscv-openocd-c554246177bb8b2b03ca584847c4ffc2b2f7bb4b.tar.bz2
Merge pull request #347 from riscv/hwthread
`-rtos hwthread` support
Diffstat (limited to 'src/target/target.c')
-rw-r--r--src/target/target.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/target/target.c b/src/target/target.c
index 7de3e76..ffd82fb 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -1575,8 +1575,9 @@ int target_call_event_callbacks(struct target *target, enum target_event event)
target_call_event_callbacks(target, TARGET_EVENT_GDB_HALT);
}
- LOG_DEBUG("target event %i (%s)", event,
- Jim_Nvp_value2name_simple(nvp_target_event, event)->name);
+ LOG_DEBUG("target event %i (%s) for core %d", event,
+ Jim_Nvp_value2name_simple(nvp_target_event, event)->name,
+ target->coreid);
target_handle_event(target, event);