gdb/gdbserver/
authorYao Qi <yao@codesourcery.com>
Wed, 4 Jan 2012 14:39:12 +0000 (14:39 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 4 Jan 2012 14:39:12 +0000 (14:39 +0000)
* tracepoint.c (cmd_qtdp): Print debug message
for static tracepoint.

gdb/gdbserver/ChangeLog
gdb/gdbserver/tracepoint.c

index 75e043b93f346a5d654e7476ebf4a5a8c9e9c5a3..07bff94a5ff7dbfc02d3fcee2b210ba1bbd62c41 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-04  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (cmd_qtdp): Print debug message
+       for static tracepoint.
+
 2012-01-04  Yao Qi  <yao@codesourcery.com>
 
        * tracepoint.c (trace_vdebug): Differentiate debug message
index 8ed5aab334590feb6b49d94f9b9b0263a8cdac95..43c538cb955cba1598ccb4cdb1ad6297c34f80d3 100644 (file)
@@ -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);
     }