diff options
author | Eugene Tarassov | 2013-06-07 21:19:47 +0000 |
---|---|---|
committer | Eugene Tarassov | 2013-06-07 21:19:47 +0000 |
commit | 88c11eb62cb4526601c2014bb5fa0bf653c563b2 (patch) | |
tree | 69842a094087270f3e6613a02bb4348c7bd8fde3 /agent/tcf/framework/cpudefs.c | |
parent | eb3d589377fe3b23c0d5d97e95e09fa06e1d0902 (diff) | |
download | org.eclipse.tcf.agent-88c11eb62cb4526601c2014bb5fa0bf653c563b2.tar.gz org.eclipse.tcf.agent-88c11eb62cb4526601c2014bb5fa0bf653c563b2.tar.xz org.eclipse.tcf.agent-88c11eb62cb4526601c2014bb5fa0bf653c563b2.zip |
TCF Agent: Stack Trace service implementation changed to allow partial and incremental stack tracing
Diffstat (limited to 'agent/tcf/framework/cpudefs.c')
-rw-r--r-- | agent/tcf/framework/cpudefs.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/agent/tcf/framework/cpudefs.c b/agent/tcf/framework/cpudefs.c index e0975e6a..17faaca5 100644 --- a/agent/tcf/framework/cpudefs.c +++ b/agent/tcf/framework/cpudefs.c @@ -144,12 +144,7 @@ int id2frame(const char * id, Context ** ctx, int * frame) { const char * frame2id(Context * ctx, int frame) { char id[256]; - assert(frame >= 0); - if (!context_has_state(ctx)) { - errno = ERR_INV_CONTEXT; - return NULL; - } snprintf(id, sizeof(id), "FP%d.%s", frame, ctx->id); return tmp_strdup(id); } |