From: Yao Qi Date: Tue, 26 Feb 2013 14:11:58 +0000 (+0000) Subject: gdb/gdbserver/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=282bbdf358a7320c4a60cc63b94f013d74772569;p=binutils-gdb.git gdb/gdbserver/ * tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF. --- 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