summaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorqiyao <qiyao>2013-02-26 14:11:57 +0000
committerqiyao <qiyao>2013-02-26 14:11:57 +0000
commit7ba9038443b61a4de2c4181a75b2aebd033d0c03 (patch)
treefba2ca8dad0ae42b77c3d477f8bab19b4fc0ff0c /gdb/gdbserver
parent1abda479d07f91ebf07fa1329d407aeb388978d4 (diff)
downloadgdb-7ba9038443b61a4de2c4181a75b2aebd033d0c03.tar.gz
gdb/gdbserver/
* tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/tracepoint.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 88cd10116a1..bd780ad963b 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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>
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
index 95c55adec3f..ba681c4fdd3 100644
--- a/gdb/gdbserver/tracepoint.c
+++ b/gdb/gdbserver/tracepoint.c
@@ -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