From 282bbdf358a7320c4a60cc63b94f013d74772569 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Tue, 26 Feb 2013 14:11:58 +0000 Subject: [PATCH] gdb/gdbserver/ * tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF. --- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/tracepoint.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) 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 + + * tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF. + 2013-02-19 Pedro Alves Kai Tietz 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 -- 2.30.2