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/symbols_win32.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/symbols_win32.c')
-rw-r--r-- | agent/tcf/services/symbols_win32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/agent/tcf/services/symbols_win32.c b/agent/tcf/services/symbols_win32.c index 8a4f8858..585b060b 100644 --- a/agent/tcf/services/symbols_win32.c +++ b/agent/tcf/services/symbols_win32.c @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2015 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. @@ -297,11 +297,11 @@ const char * symbol2id(const Symbol * sym) { assert(sym->ctx == sym->base->ctx); assert(sym->sym_class == SYM_CLASS_TYPE); strlcpy(base, symbol2id(sym->base), sizeof(base)); - snprintf(buf, sizeof(buf), "@P%" PRIX64 ".%s", (uint64_t)sym->length, base); + snprintf(buf, sizeof(buf), "@P%" PRIx64 ".%s", (uint64_t)sym->length, base); } else { int i = sym->info ? (int)(sym->info - basic_type_info) + 1 : 0; - snprintf(buf, sizeof(buf), "@S%" PRIX64 ".%lX.%X.%X.%s", + snprintf(buf, sizeof(buf), "@S%" PRIx64 ".%lX.%X.%X.%s", (uint64_t)sym->module, sym->index, sym->frame, i, sym->ctx->id); } return buf; |