diff options
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/etm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/target/etm.c b/src/target/etm.c index fc49c1d7..cc1ac7a6 100644 --- a/src/target/etm.c +++ b/src/target/etm.c @@ -723,13 +723,18 @@ int etmv1_data(etm_context_t *ctx, int size, u32 *data) } if (size == 8) + { ERROR("TODO: add support for 64-bit values"); + return -1; + } else if (size == 4) *data = target_buffer_get_u32(ctx->target, buf); else if (size == 2) *data = target_buffer_get_u16(ctx->target, buf); else if (size == 1) *data = buf[0]; + else + return -1; return 0; } |