You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/12/11 16:43:39 UTC

(nuttx-apps) branch master updated: gdbstub:update gdb_process api

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new ffbf92062 gdbstub:update gdb_process api
ffbf92062 is described below

commit ffbf9206236e56c9745272ce1b97c98569f7fe81
Author: anjiahao <an...@xiaomi.com>
AuthorDate: Fri Dec 8 23:15:32 2023 +0800

    gdbstub:update gdb_process api
    
    Signed-off-by: anjiahao <an...@xiaomi.com>
---
 system/gdbstub/gdbstub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/system/gdbstub/gdbstub.c b/system/gdbstub/gdbstub.c
index b1dd7c594..9f7abc6c0 100644
--- a/system/gdbstub/gdbstub.c
+++ b/system/gdbstub/gdbstub.c
@@ -219,7 +219,7 @@ reconnect:
 
   do
     {
-      ret = gdb_process(state);
+      ret = gdb_process(state, 0, NULL);
       if (ret == -ECONNRESET)
         {
 #ifdef CONFIG_NET