From 5e0a92a9869b4e15cdce8d6e7d60f1404fda609c Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 4 Jan 2012 14:39:12 +0000 Subject: [PATCH] gdb/gdbserver/ * tracepoint.c (cmd_qtdp): Print debug message for static tracepoint. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/tracepoint.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); } -- 2.30.2