cederom commented on code in PR #3962:
URL: https://github.com/apache/nuttx-apps/pull/3962#discussion_r4453346121
##########
system/gdbstub/gdbstub.c:
##########
Review Comment:
How about leaving `gdb_write` as it was but internally something like this:
```
#ifdef CONFIG_NET
ssize_t ret = send(fd, buf + i, len - i, MSG_NOSIGNAL);
#elif
ssize_t ret = write(fd, buf + i, len - i);
#endif
```
Then no change would be necessary in line 218/244 making things cleaner? :-)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]