From: Yao Qi Date: Wed, 4 Jan 2012 14:39:12 +0000 (+0000) Subject: gdb/gdbserver/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e0a92a9869b4e15cdce8d6e7d60f1404fda609c;p=binutils-gdb.git gdb/gdbserver/ * tracepoint.c (cmd_qtdp): Print debug message for static tracepoint. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 75e043b93f3..07bff94a5ff 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2012-01-04 Yao Qi + + * tracepoint.c (cmd_qtdp): Print debug message + for static tracepoint. + 2012-01-04 Yao Qi * tracepoint.c (trace_vdebug): Differentiate debug message diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c index 8ed5aab3345..43c538cb955 100644 --- a/gdb/gdbserver/tracepoint.c +++ b/gdb/gdbserver/tracepoint.c @@ -2427,7 +2427,7 @@ cmd_qtdp (char *own_buf) trace_debug ("Defined %stracepoint %d at 0x%s, " "enabled %d step %ld pass %ld", tpoint->type == fast_tracepoint ? "fast " - : "", + : tpoint->type == static_tracepoint ? "static " : "", tpoint->number, paddress (tpoint->address), tpoint->enabled, tpoint->step_count, tpoint->pass_count); }