From: Yao Qi Date: Tue, 4 Sep 2012 01:47:49 +0000 (+0000) Subject: gdb/gdbserver/ X-Git-Tag: sid-snapshot-20121001~243 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=918d227b01c7320fc9a0a544c7078f4a1497c397;p=external%2Fbinutils.git gdb/gdbserver/ * tracepoint.c (cmd_qtsv): Adjust debug message. Don't check CUR_TPOINT. --- 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 + + * tracepoint.c (cmd_qtsv): Adjust debug message. + Don't check CUR_TPOINT. + 2012-08-28 Yao Qi * 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)