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.git

commit 94a2ce3641213cc702abc5c17b0f81a50c714a2e
Author: xuxingliang <xuxingli...@xiaomi.com>
AuthorDate: Mon Sep 16 20:46:12 2024 +0800

    tools/gdb: need to switch back to inferior 1
    
    After check version using inferior 2, need to switch back for normal 
operation
    
    Signed-off-by: xuxingliang <xuxingli...@xiaomi.com>
---
 tools/gdb/utils.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/gdb/utils.py b/tools/gdb/utils.py
index 458297929d..34b365bee4 100644
--- a/tools/gdb/utils.py
+++ b/tools/gdb/utils.py
@@ -663,4 +663,5 @@ def check_version():
     else:
         gdb.write(f"Build version: {mem_version}\n")
 
+    gdb.execute("inferior 1", to_string=True)
     suppress_cli_notifications(state)

Reply via email to