gdb/gdbserver/
authorYao Qi <yao@codesourcery.com>
Tue, 4 Sep 2012 01:47:49 +0000 (01:47 +0000)
committerYao Qi <yao@codesourcery.com>
Tue, 4 Sep 2012 01:47:49 +0000 (01:47 +0000)
* tracepoint.c (cmd_qtsv): Adjust debug message.
Don't check CUR_TPOINT.

gdb/gdbserver/ChangeLog
gdb/gdbserver/tracepoint.c

index eb6002ca4383bd12977d52262277d8551ce54522..fb89abb613524298caaf24b4e16c946ba476eed2 100644 (file)
@@ -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.
index 1bc563d2ad4f8ab27c0eed0d361b4981c1df41e7..201a25b384e35f60f8a64cab8334f055cfb27d3e 100644 (file)
@@ -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)