* tracepoint.c (cmd_qtsv): Adjust debug message.
Don't check CUR_TPOINT.
+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.
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)