gdb/gdbserver/

* tracepoint.c (cmd_qtdp): Print debug message
	for static tracepoint.
This commit is contained in:
Yao Qi 2012-01-04 14:39:12 +00:00
parent ae639e8c92
commit 5e0a92a986
2 changed files with 6 additions and 1 deletions

View 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

View 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);
}