diff options
author | Yao Qi <yao@codesourcery.com> | 2012-09-04 01:47:49 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-09-04 01:47:49 +0000 |
commit | 918d227b01c7320fc9a0a544c7078f4a1497c397 (patch) | |
tree | 32a4fee114b58cad12a72895e46ddb537a192d0c | |
parent | bc36528588b0b8870f8832eed222aedafab51c2a (diff) | |
download | gdb-918d227b01c7320fc9a0a544c7078f4a1497c397.zip gdb-918d227b01c7320fc9a0a544c7078f4a1497c397.tar.gz gdb-918d227b01c7320fc9a0a544c7078f4a1497c397.tar.bz2 |
gdb/gdbserver/
* tracepoint.c (cmd_qtsv): Adjust debug message.
Don't check CUR_TPOINT.
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/tracepoint.c | 10 |
2 files changed, 7 insertions, 8 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index eb6002c..fb89abb 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2012-09-04 Yao Qi <yao@codesourcery.com> + + * tracepoint.c (cmd_qtsv): Adjust debug message. + Don't check CUR_TPOINT. + 2012-08-28 Yao Qi <yao@codesourcery.com> * ax.c, tracepoint.c: Replace ATTR_FORMAT with ATTRIBUTE_PRINTF. diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c index 1bc563d..201a25b 100644 --- a/gdb/gdbserver/tracepoint.c +++ b/gdb/gdbserver/tracepoint.c @@ -3873,15 +3873,9 @@ cmd_qtfv (char *packet) static void cmd_qtsv (char *packet) { - trace_debug ("Returning first trace state variable definition"); + trace_debug ("Returning additional trace state variable definition"); - if (!cur_tpoint) - { - /* This case would normally never occur, but be prepared for - GDB misbehavior. */ - strcpy (packet, "l"); - } - else if (cur_tsv) + if (cur_tsv) { cur_tsv = cur_tsv->next; if (cur_tsv) |