diff options
author | Yao Qi <yao@codesourcery.com> | 2013-02-26 14:11:58 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-02-26 14:11:58 +0000 |
commit | 282bbdf358a7320c4a60cc63b94f013d74772569 (patch) | |
tree | 742aab11f0cb0b93ee25b5ad0ac8bd7e094b34d0 /gdb/gdbserver | |
parent | 56dd11f0f4bffca66ecd7de89f992a19b6f8d470 (diff) | |
download | gdb-282bbdf358a7320c4a60cc63b94f013d74772569.zip gdb-282bbdf358a7320c4a60cc63b94f013d74772569.tar.gz gdb-282bbdf358a7320c4a60cc63b94f013d74772569.tar.bz2 |
gdb/gdbserver/
* tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/tracepoint.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 88cd101..bd780ad 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 95c55ad..ba681c4 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 |