aboutsummaryrefslogtreecommitdiff
path: root/src/server/gdb_server.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2020-12-19 16:15:54 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2020-12-26 15:48:13 +0000
commit7f74906c2d18a2347ec392f9a457963bff3f25b8 (patch)
tree11ea67539f0a1281571501de380104e258e99e50 /src/server/gdb_server.c
parent433e37f02f6a38a3905b84f2aac12fdd66045137 (diff)
downloadriscv-openocd-7f74906c2d18a2347ec392f9a457963bff3f25b8.zip
riscv-openocd-7f74906c2d18a2347ec392f9a457963bff3f25b8.tar.gz
riscv-openocd-7f74906c2d18a2347ec392f9a457963bff3f25b8.tar.bz2
gdb_server: minor fix for indentation
Use a TAB in place of 4 spaces Change-Id: Ic34b7c3ef24078d2c36a193d4dd079bca5a7ef2e Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Fixes: a4cdce0129a6 ("gdb_server: prevent false positive valgrind report") Reviewed-on: http://openocd.zylin.com/5982 Tested-by: jenkins Reviewed-by: Jonathan McDowell <noodles-openocd@earth.li>
Diffstat (limited to 'src/server/gdb_server.c')
-rw-r--r--src/server/gdb_server.c2
1 files changed, 1 insertions, 1 deletions
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 */