Duh, don't try and do a bulk read when we requested 0 bytes back.
[fw/stlink] / gdbserver /
drwxr-xr-x   ..
-rw-r--r-- 503 Makefile
-rw-r--r-- 2684 gdb-remote.c
-rw-r--r-- 177 gdb-remote.h
-rw-r--r-- 27450 gdb-server.c