diff options
author | Yao Qi <yao@codesourcery.com> | 2012-01-04 14:39:12 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-01-04 14:39:12 +0000 |
commit | 5e0a92a9869b4e15cdce8d6e7d60f1404fda609c (patch) | |
tree | fd9be521922a4ca31806c6ce404b3a7f803d1d46 /gdb | |
parent | ae639e8c92f3f73d2a74193700b282ff35e72a37 (diff) | |
download | gdb-5e0a92a9869b4e15cdce8d6e7d60f1404fda609c.zip gdb-5e0a92a9869b4e15cdce8d6e7d60f1404fda609c.tar.gz gdb-5e0a92a9869b4e15cdce8d6e7d60f1404fda609c.tar.bz2 |
gdb/gdbserver/
* tracepoint.c (cmd_qtdp): Print debug message
for static tracepoint.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/tracepoint.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 75e043b..07bff94 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,10 @@ 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 between gdbserver and IPA. diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c index 8ed5aab..43c538c 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); } |