diff options
author | Sanimir Agovic | 2017-11-15 20:54:47 +0000 |
---|---|---|
committer | Eugene Tarassov | 2017-11-20 19:35:38 +0000 |
commit | b529a4d5e3b22c6f928118de70ba7c2d675ce92a (patch) | |
tree | 6376d66a7132464ada4ab07ea679efb0f03e4df6 /agent/tcf/main | |
parent | 5a9f67bf5bc6d638ee0b42fb8da93e31dee98ee4 (diff) | |
download | org.eclipse.tcf.agent-b529a4d5e3b22c6f928118de70ba7c2d675ce92a.tar.gz org.eclipse.tcf.agent-b529a4d5e3b22c6f928118de70ba7c2d675ce92a.tar.xz org.eclipse.tcf.agent-b529a4d5e3b22c6f928118de70ba7c2d675ce92a.zip |
gdb-rsp: add missing argument
Format was specifying two arguments but only one was passed.
Change-Id: I64ae018e8bdc213a36116c8345903808790e8d7e
Signed-off-by: Sanimir Agovic <sanimir@subpath.org>
Diffstat (limited to 'agent/tcf/main')
-rw-r--r-- | agent/tcf/main/gdb-rsp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/agent/tcf/main/gdb-rsp.c b/agent/tcf/main/gdb-rsp.c index d8350ae5..f134c075 100644 --- a/agent/tcf/main/gdb-rsp.c +++ b/agent/tcf/main/gdb-rsp.c @@ -206,7 +206,7 @@ static void add_thread(GdbClient * c, Context * ctx) { if (suspend_debug_context(ctx) < 0) { char * name = ctx->name; if (name == NULL) name = ctx->id; - trace(LOG_ALWAYS, "GDB Server: cannot suspend context %s: %s", errno_to_str(errno)); + trace(LOG_ALWAYS, "GDB Server: cannot suspend context %s: %s", name, errno_to_str(errno)); } } } @@ -413,7 +413,7 @@ static void lock_threads(GdbClient * c) { if (suspend_debug_context(ctx) < 0) { char * name = ctx->name; if (name == NULL) name = ctx->id; - trace(LOG_ALWAYS, "GDB Server: cannot suspend context %s: %s", errno_to_str(errno)); + trace(LOG_ALWAYS, "GDB Server: cannot suspend context %s: %s", name, errno_to_str(errno)); } t->locked = 1; } @@ -1639,7 +1639,7 @@ static int read_packet(GdbClient * c, unsigned len) { if (suspend_debug_context(ctx) < 0) { char * name = ctx->name; if (name == NULL) name = ctx->id; - trace(LOG_ALWAYS, "GDB Server: cannot suspend context %s: %s", errno_to_str(errno)); + trace(LOG_ALWAYS, "GDB Server: cannot suspend context %s: %s", name, errno_to_str(errno)); } } } |