diff options
author | Eugene Tarassov | 2017-11-22 01:47:24 +0000 |
---|---|---|
committer | Eugene Tarassov | 2017-11-22 01:47:24 +0000 |
commit | f23c820b8740dbd5fd45b51198fd06bd69abeea6 (patch) | |
tree | 951bb2007e32a21c0116774b45f968abb1e64314 /agent/tcf/services/stacktrace.c | |
parent | 1d82208507e225e3d864a631b7508878dc0a7c1a (diff) | |
download | org.eclipse.tcf.agent-f23c820b8740dbd5fd45b51198fd06bd69abeea6.tar.gz org.eclipse.tcf.agent-f23c820b8740dbd5fd45b51198fd06bd69abeea6.tar.xz org.eclipse.tcf.agent-f23c820b8740dbd5fd45b51198fd06bd69abeea6.zip |
TCF Agent: fixed inconsistencies between format specification and argument types in trace() invocations
Diffstat (limited to 'agent/tcf/services/stacktrace.c')
-rw-r--r-- | agent/tcf/services/stacktrace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/agent/tcf/services/stacktrace.c b/agent/tcf/services/stacktrace.c index 1093d550..229dd243 100644 --- a/agent/tcf/services/stacktrace.c +++ b/agent/tcf/services/stacktrace.c @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2016 Wind River Systems, Inc. and others. + * Copyright (c) 2007, 2017 Wind River Systems, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v1.0 which accompany this distribution. @@ -272,7 +272,7 @@ static void trace_stack(Context * ctx, StackTrace * stack, int max_frames) { for (def = get_reg_definitions(ctx); def->name != NULL; def++) { if (def->no_read || def->read_once || def->bits) continue; if (read_reg_value(frame, def, &v) != 0) continue; - trace(LOG_STACK, " %-8s %16" PRIX64, def->name, v); + trace(LOG_STACK, " %-8s %16" PRIx64, def->name, v); } } #endif @@ -295,7 +295,7 @@ static void trace_stack(Context * ctx, StackTrace * stack, int max_frames) { } } assert(down.area == NULL); - trace(LOG_STACK, " cfa %16" PRIX64, (uint64_t)frame->fp); + trace(LOG_STACK, " cfa %16" PRIx64, (uint64_t)frame->fp); if (!down.has_reg_data) { stack->complete = 1; free_frame(&down); |