gdb/gdbserver/
authorYao Qi <yao@codesourcery.com>
Tue, 26 Feb 2013 14:11:58 +0000 (14:11 +0000)
committerYao Qi <yao@codesourcery.com>
Tue, 26 Feb 2013 14:11:58 +0000 (14:11 +0000)
* tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF.

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

index 88cd10116a19622cbc8966a97e425775bbc182d3..bd780ad963b2f11be72bacbe8bccb37ffea3a107 100644 (file)
@@ -1,3 +1,7 @@
+2013-02-26  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF.
+
 2013-02-19  Pedro Alves  <palves@redhat.com>
            Kai Tietz <ktietz@redhat.com>
 
index 95c55adec3f09f9ff568516a1e17a9cd3b970bc1..ba681c4fdd31c7fce12d65bc1e9fc95a38fde3e4 100644 (file)
@@ -4002,7 +4002,6 @@ cmd_qtbuffer (char *own_buf)
     num = (PBUFSIZ - 16) / 2;
 
   convert_int_to_ascii (tbp, own_buf, num);
-  own_buf[num] = '\0';
 }
 
 static void