anchao commented on code in PR #15613:
URL: https://github.com/apache/nuttx/pull/15613#discussion_r1922194293


##########
include/nuttx/gdbstub.h:
##########
@@ -47,7 +47,7 @@
  ****************************************************************************/
 
 struct gdb_state_s;
-typedef CODE ssize_t (*gdb_send_func_t)(FAR void *priv, FAR void *buf,
+typedef CODE ssize_t (*gdb_send_func_t)(FAR void *priv, FAR const char *buf,
                                         size_t len);
 typedef CODE ssize_t (*gdb_recv_func_t)(FAR void *priv, FAR void *buf,

Review Comment:
   Would it be better to update recv as well? Of course we could use a separate 
PR



-- 
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]

Reply via email to