From 7f74906c2d18a2347ec392f9a457963bff3f25b8 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 19 Dec 2020 16:15:54 +0100 Subject: gdb_server: minor fix for indentation Use a TAB in place of 4 spaces Change-Id: Ic34b7c3ef24078d2c36a193d4dd079bca5a7ef2e Signed-off-by: Antonio Borneo Fixes: a4cdce0129a6 ("gdb_server: prevent false positive valgrind report") Reviewed-on: http://openocd.zylin.com/5982 Tested-by: jenkins Reviewed-by: Jonathan McDowell --- src/server/gdb_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 792bbdc..c1e90a0 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -2516,7 +2516,7 @@ static int gdb_get_thread_list_chunk(struct target *target, char **thread_list, transfer_type = 'l'; *chunk = malloc(length + 2 + 3); - /* Allocating extra 3 bytes prevents false positive valgrind report + /* Allocating extra 3 bytes prevents false positive valgrind report * of strlen(chunk) word access: * Invalid read of size 4 * Address 0x4479934 is 44 bytes inside a block of size 45 alloc'd */ -- cgit v1.1