openocd/src/server
Spencer Oliver 3500109fc7 gdb_server: use strndup to allocate debug messages
Lets be consistent and use strndup to allocate the debug buffer.

Change-Id: I535ad270ebfeae6e09d28372ab3749c822971223
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/245
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2011-12-02 12:26:04 +00:00
..
Makefile.am build: add common.mk 2010-11-18 14:05:56 +00:00
gdb_server.c gdb_server: use strndup to allocate debug messages 2011-12-02 12:26:04 +00:00
gdb_server.h remove target argument from gdb packet handling functions 2011-08-24 17:41:35 +02:00
server.c SERVER: fix clang warning 2011-10-23 15:17:09 +00:00
server.h warnings: use more 'const' for char * 2010-12-29 22:07:39 +01:00
server_stubs.c remove #if logic for openocd_sleep_*lude 2009-12-02 13:26:26 -08:00
startup.tcl Fix a bunch of typos. 2011-03-17 07:25:25 +01:00
tcl_server.c pipes: add documentation for pipes 2010-10-01 10:26:10 +02:00
tcl_server.h Fixed bug in tcl-server 2010-05-05 15:24:24 +02:00
telnet_server.c pipes: add documentation for pipes 2010-10-01 10:26:10 +02:00
telnet_server.h change #include "server.h" to <server/server.h> 2009-12-03 04:24:49 -08:00