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 50fb43e23b132c35c3f306c6ba31bb6dbc0880c8
Author: yinshengkai <yinsheng...@xiaomi.com>
AuthorDate: Tue Nov 26 16:38:06 2024 +0800

    tools: rename tools/gdb/nuttxgdb to tools/pynuttx/nxgdb
    
    Signed-off-by: yinshengkai <yinsheng...@xiaomi.com>
---
 tools/gdb/.gitignore                                      | 2 --
 tools/pynuttx/.gitignore                                  | 2 ++
 tools/{gdb => pynuttx}/gdbinit.py                         | 8 ++++----
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/__init__.py         | 4 ++--
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/debug.py            | 4 +++-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/diagnose.py         | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/dmesg.py            | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/fs.py               | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/gcore.py            | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/lists.py            | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/macros.py           | 4 ++--
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/memcheck.py         | 4 +++-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/memdump.py          | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/memleak.py          | 4 +++-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/mm.py               | 4 +++-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/net.py              | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/prefix.py           | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/profile.py          | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/protocols/fs.py     | 4 +++-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/protocols/mm.py     | 2 ++
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/protocols/thread.py | 4 +++-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/protocols/value.py  | 4 +++-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/protocols/wdog.py   | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/protocols/wqueue.py | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/rpmsg.py            | 4 +++-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/stack.py            | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/thread.py           | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/utils.py            | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/wdog.py             | 2 +-
 tools/{gdb/nuttxgdb => pynuttx/nxgdb}/wqueue.py           | 2 +-
 tools/{gdb => pynuttx}/pyproject.toml                     | 4 ++--
 tools/{gdb => pynuttx}/requirements.txt                   | 0
 32 files changed, 54 insertions(+), 36 deletions(-)

diff --git a/tools/gdb/.gitignore b/tools/gdb/.gitignore
deleted file mode 100644
index 12681cb30e..0000000000
--- a/tools/gdb/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-dist/
-nuttxgdb.egg-info/
diff --git a/tools/pynuttx/.gitignore b/tools/pynuttx/.gitignore
new file mode 100644
index 0000000000..1abceb8f41
--- /dev/null
+++ b/tools/pynuttx/.gitignore
@@ -0,0 +1,2 @@
+dist/
+nxgdb.egg-info/
diff --git a/tools/gdb/gdbinit.py b/tools/pynuttx/gdbinit.py
similarity index 90%
rename from tools/gdb/gdbinit.py
rename to tools/pynuttx/gdbinit.py
index 2342dcb36f..a965fa3485 100644
--- a/tools/gdb/gdbinit.py
+++ b/tools/pynuttx/gdbinit.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/gdbinit.py
+# tools/pynuttx/gdbinit.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
@@ -29,9 +29,9 @@ if __name__ == "__main__":
     if here not in sys.path:
         sys.path.insert(0, here)
 
-    if "nuttxgdb" in sys.modules:
+    if "nxgdb" in sys.modules:
         for key in list(sys.modules.keys()):
-            if key.startswith("nuttxgdb"):
+            if key.startswith("nxgdb"):
                 del sys.modules[key]
 
-    import nuttxgdb  # noqa: F401
+    import nxgdb  # noqa: F401
diff --git a/tools/gdb/nuttxgdb/__init__.py b/tools/pynuttx/nxgdb/__init__.py
similarity index 96%
rename from tools/gdb/nuttxgdb/__init__.py
rename to tools/pynuttx/nxgdb/__init__.py
index 59a9850d27..254cf268e4 100644
--- a/tools/gdb/nuttxgdb/__init__.py
+++ b/tools/pynuttx/nxgdb/__init__.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/__init__.py
+# tools/pynuttx/nxgdb/__init__.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
@@ -29,7 +29,7 @@ import gdb
 if __name__ == "__main__":
     import sys
 
-    gdb.write("Use nuttx/tools/gdb/gdbinit.py instead")
+    gdb.write("Use nuttx/tools/pynuttx/gdbinit.py instead")
     sys.exit(1)
 
 here = path.dirname(path.abspath(__file__))
diff --git a/tools/gdb/nuttxgdb/debug.py b/tools/pynuttx/nxgdb/debug.py
similarity index 96%
rename from tools/gdb/nuttxgdb/debug.py
rename to tools/pynuttx/nxgdb/debug.py
index 5303bd2a16..35858b61d2 100644
--- a/tools/gdb/nuttxgdb/debug.py
+++ b/tools/pynuttx/nxgdb/debug.py
@@ -1,5 +1,7 @@
 ############################################################################
-# tools/gdb/nuttxgdb/debug.py
+# tools/pynuttx/nxgdb/debug.py
+#
+# SPDX-License-Identifier: Apache-2.0
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/tools/gdb/nuttxgdb/diagnose.py b/tools/pynuttx/nxgdb/diagnose.py
similarity index 98%
rename from tools/gdb/nuttxgdb/diagnose.py
rename to tools/pynuttx/nxgdb/diagnose.py
index 139925618f..0a0f694fb4 100644
--- a/tools/gdb/nuttxgdb/diagnose.py
+++ b/tools/pynuttx/nxgdb/diagnose.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttx_gdb/diagnose.py
+# tools/pynuttx/nxgdb/diagnose.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/dmesg.py b/tools/pynuttx/nxgdb/dmesg.py
similarity index 98%
rename from tools/gdb/nuttxgdb/dmesg.py
rename to tools/pynuttx/nxgdb/dmesg.py
index bb291a8276..8f4a487c5f 100644
--- a/tools/gdb/nuttxgdb/dmesg.py
+++ b/tools/pynuttx/nxgdb/dmesg.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/dmesg.py
+# tools/pynuttx/nxgdb/dmesg.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/fs.py b/tools/pynuttx/nxgdb/fs.py
similarity index 99%
rename from tools/gdb/nuttxgdb/fs.py
rename to tools/pynuttx/nxgdb/fs.py
index ea527cbf83..8ecf5017b6 100644
--- a/tools/gdb/nuttxgdb/fs.py
+++ b/tools/pynuttx/nxgdb/fs.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/fs.py
+# tools/pynuttx/nxgdb/fs.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/gcore.py b/tools/pynuttx/nxgdb/gcore.py
similarity index 99%
rename from tools/gdb/nuttxgdb/gcore.py
rename to tools/pynuttx/nxgdb/gcore.py
index 3a30376287..8a2deabfae 100644
--- a/tools/gdb/nuttxgdb/gcore.py
+++ b/tools/pynuttx/nxgdb/gcore.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/gcore.py
+# tools/pynuttx/nxgdb/gcore.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/lists.py b/tools/pynuttx/nxgdb/lists.py
similarity index 99%
rename from tools/gdb/nuttxgdb/lists.py
rename to tools/pynuttx/nxgdb/lists.py
index 0f61925be2..0c6222f1fb 100644
--- a/tools/gdb/nuttxgdb/lists.py
+++ b/tools/pynuttx/nxgdb/lists.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/lists.py
+# tools/pynuttx/nxgdb/lists.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/macros.py b/tools/pynuttx/nxgdb/macros.py
similarity index 98%
rename from tools/gdb/nuttxgdb/macros.py
rename to tools/pynuttx/nxgdb/macros.py
index bc07ec6761..d1d9fa7826 100644
--- a/tools/gdb/nuttxgdb/macros.py
+++ b/tools/pynuttx/nxgdb/macros.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/macros.py
+# tools/pynuttx/nxgdb/macros.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
@@ -194,7 +194,7 @@ def do_expand(expr, macro_map):
 
 
 # NOTE: Implement a fully functional parser which can
-# preprocess all the C macros according to ISO 9899 standard
+# preprocess all the C marcos according to ISO 9899 standard
 # may be an overkill, what we really care about are those
 # macros that can be evaluated to a constant value.
 #
diff --git a/tools/gdb/nuttxgdb/memcheck.py b/tools/pynuttx/nxgdb/memcheck.py
similarity index 98%
rename from tools/gdb/nuttxgdb/memcheck.py
rename to tools/pynuttx/nxgdb/memcheck.py
index 8f91c002aa..4cb1c51d6a 100644
--- a/tools/gdb/nuttxgdb/memcheck.py
+++ b/tools/pynuttx/nxgdb/memcheck.py
@@ -1,5 +1,7 @@
 ############################################################################
-# tools/gdb/nuttxgdb/memcheck.py
+# tools/pynuttx/nxgdb/memcheck.py
+#
+# SPDX-License-Identifier: Apache-2.0
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/tools/gdb/nuttxgdb/memdump.py b/tools/pynuttx/nxgdb/memdump.py
similarity index 99%
rename from tools/gdb/nuttxgdb/memdump.py
rename to tools/pynuttx/nxgdb/memdump.py
index 342e7d2e82..50bafaebee 100644
--- a/tools/gdb/nuttxgdb/memdump.py
+++ b/tools/pynuttx/nxgdb/memdump.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/memdump.py
+# tools/pynuttx/nxgdb/memdump.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/memleak.py b/tools/pynuttx/nxgdb/memleak.py
similarity index 99%
rename from tools/gdb/nuttxgdb/memleak.py
rename to tools/pynuttx/nxgdb/memleak.py
index 4c80edd738..9ffdfbda48 100644
--- a/tools/gdb/nuttxgdb/memleak.py
+++ b/tools/pynuttx/nxgdb/memleak.py
@@ -1,5 +1,7 @@
 ############################################################################
-# tools/gdb/nuttxgdb/memleak.py
+# tools/pynuttx/nxgdb/memleak.py
+#
+# SPDX-License-Identifier: Apache-2.0
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/tools/gdb/nuttxgdb/mm.py b/tools/pynuttx/nxgdb/mm.py
similarity index 99%
rename from tools/gdb/nuttxgdb/mm.py
rename to tools/pynuttx/nxgdb/mm.py
index bb923ecd5e..7104a1ce73 100644
--- a/tools/gdb/nuttxgdb/mm.py
+++ b/tools/pynuttx/nxgdb/mm.py
@@ -1,5 +1,7 @@
 ############################################################################
-# tools/gdb/nuttxgdb/mm.py
+# tools/pynuttx/nxgdb/mm.py
+#
+# SPDX-License-Identifier: Apache-2.0
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/tools/gdb/nuttxgdb/net.py b/tools/pynuttx/nxgdb/net.py
similarity index 99%
rename from tools/gdb/nuttxgdb/net.py
rename to tools/pynuttx/nxgdb/net.py
index 256267af50..ffb23a113d 100644
--- a/tools/gdb/nuttxgdb/net.py
+++ b/tools/pynuttx/nxgdb/net.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/net.py
+# tools/pynuttx/nxgdb/net.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/prefix.py b/tools/pynuttx/nxgdb/prefix.py
similarity index 97%
rename from tools/gdb/nuttxgdb/prefix.py
rename to tools/pynuttx/nxgdb/prefix.py
index 903d69bf25..1f3ce210e8 100644
--- a/tools/gdb/nuttxgdb/prefix.py
+++ b/tools/pynuttx/nxgdb/prefix.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttx_gdb/prefix.py
+# tools/pynuttx/nxgdb/prefix.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/profile.py b/tools/pynuttx/nxgdb/profile.py
similarity index 98%
rename from tools/gdb/nuttxgdb/profile.py
rename to tools/pynuttx/nxgdb/profile.py
index bf466f5742..1d16abef45 100644
--- a/tools/gdb/nuttxgdb/profile.py
+++ b/tools/pynuttx/nxgdb/profile.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/profile.py
+# tools/pynuttx/nxgdb/profile.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/protocols/fs.py 
b/tools/pynuttx/nxgdb/protocols/fs.py
similarity index 95%
rename from tools/gdb/nuttxgdb/protocols/fs.py
rename to tools/pynuttx/nxgdb/protocols/fs.py
index 787bcb578b..b36d6c554f 100644
--- a/tools/gdb/nuttxgdb/protocols/fs.py
+++ b/tools/pynuttx/nxgdb/protocols/fs.py
@@ -1,5 +1,7 @@
 ############################################################################
-# tools/gdb/nuttxgdb/protocols/fs.py
+# tools/pynuttx/nxgdb/protocols/fs.py
+#
+# SPDX-License-Identifier: Apache-2.0
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/tools/gdb/nuttxgdb/protocols/mm.py 
b/tools/pynuttx/nxgdb/protocols/mm.py
similarity index 98%
rename from tools/gdb/nuttxgdb/protocols/mm.py
rename to tools/pynuttx/nxgdb/protocols/mm.py
index 96d9ae66a6..3935b1b09f 100644
--- a/tools/gdb/nuttxgdb/protocols/mm.py
+++ b/tools/pynuttx/nxgdb/protocols/mm.py
@@ -1,6 +1,8 @@
 ############################################################################
 # tools/gdb/nuttxgdb/protocols/mm.py
 #
+# SPDX-License-Identifier: Apache-2.0
+#
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
 # this work for additional information regarding copyright ownership.  The
diff --git a/tools/gdb/nuttxgdb/protocols/thread.py 
b/tools/pynuttx/nxgdb/protocols/thread.py
similarity index 97%
rename from tools/gdb/nuttxgdb/protocols/thread.py
rename to tools/pynuttx/nxgdb/protocols/thread.py
index 9572b0feaa..71e970bea8 100644
--- a/tools/gdb/nuttxgdb/protocols/thread.py
+++ b/tools/pynuttx/nxgdb/protocols/thread.py
@@ -1,5 +1,7 @@
 ############################################################################
-# tools/gdb/nuttxgdb/protocols/thread.py
+# tools/pynuttx/nxgdb/protocols/thread.py
+#
+# SPDX-License-Identifier: Apache-2.0
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/tools/gdb/nuttxgdb/protocols/value.py 
b/tools/pynuttx/nxgdb/protocols/value.py
similarity index 96%
rename from tools/gdb/nuttxgdb/protocols/value.py
rename to tools/pynuttx/nxgdb/protocols/value.py
index 6167e5fc8a..2964b94be3 100644
--- a/tools/gdb/nuttxgdb/protocols/value.py
+++ b/tools/pynuttx/nxgdb/protocols/value.py
@@ -1,5 +1,7 @@
 ############################################################################
-# tools/gdb/nuttxgdb/protocols/value.py
+# tools/pynuttx/nxgdb/protocols/value.py
+#
+# SPDX-License-Identifier: Apache-2.0
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/tools/gdb/nuttxgdb/protocols/wdog.py 
b/tools/pynuttx/nxgdb/protocols/wdog.py
similarity index 96%
rename from tools/gdb/nuttxgdb/protocols/wdog.py
rename to tools/pynuttx/nxgdb/protocols/wdog.py
index dc8cecfc66..a8bf968d99 100644
--- a/tools/gdb/nuttxgdb/protocols/wdog.py
+++ b/tools/pynuttx/nxgdb/protocols/wdog.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/protocols/wdog.py
+# tools/pynuttx/nxgdb/protocols/wdog.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/protocols/wqueue.py 
b/tools/pynuttx/nxgdb/protocols/wqueue.py
similarity index 97%
rename from tools/gdb/nuttxgdb/protocols/wqueue.py
rename to tools/pynuttx/nxgdb/protocols/wqueue.py
index 479175478d..9c5e5808a5 100644
--- a/tools/gdb/nuttxgdb/protocols/wqueue.py
+++ b/tools/pynuttx/nxgdb/protocols/wqueue.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/protocols/wqueue.py
+# tools/pynuttx/nxgdb/protocols/wqueue.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/rpmsg.py b/tools/pynuttx/nxgdb/rpmsg.py
similarity index 98%
rename from tools/gdb/nuttxgdb/rpmsg.py
rename to tools/pynuttx/nxgdb/rpmsg.py
index 4bb805c97c..a00e224935 100644
--- a/tools/gdb/nuttxgdb/rpmsg.py
+++ b/tools/pynuttx/nxgdb/rpmsg.py
@@ -1,5 +1,7 @@
 ############################################################################
-# tools/gdb/rpmsg.py
+# tools/pynuttx/rpmsg.py
+#
+# SPDX-License-Identifier: Apache-2.0
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
diff --git a/tools/gdb/nuttxgdb/stack.py b/tools/pynuttx/nxgdb/stack.py
similarity index 99%
rename from tools/gdb/nuttxgdb/stack.py
rename to tools/pynuttx/nxgdb/stack.py
index 53c936e29f..132cb9a84d 100644
--- a/tools/gdb/nuttxgdb/stack.py
+++ b/tools/pynuttx/nxgdb/stack.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/stack.py
+# tools/pynuttx/nxgdb/stack.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/thread.py b/tools/pynuttx/nxgdb/thread.py
similarity index 99%
rename from tools/gdb/nuttxgdb/thread.py
rename to tools/pynuttx/nxgdb/thread.py
index ef08489bf1..a1e98f40d8 100644
--- a/tools/gdb/nuttxgdb/thread.py
+++ b/tools/pynuttx/nxgdb/thread.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/thread.py
+# tools/pynuttx/nxgdb/thread.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/utils.py b/tools/pynuttx/nxgdb/utils.py
similarity index 99%
rename from tools/gdb/nuttxgdb/utils.py
rename to tools/pynuttx/nxgdb/utils.py
index b79f5850e1..e33530f977 100644
--- a/tools/gdb/nuttxgdb/utils.py
+++ b/tools/pynuttx/nxgdb/utils.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/utils.py
+# tools/pynuttx/nxgdb/utils.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/wdog.py b/tools/pynuttx/nxgdb/wdog.py
similarity index 98%
rename from tools/gdb/nuttxgdb/wdog.py
rename to tools/pynuttx/nxgdb/wdog.py
index f25d3c26b6..bd248f8274 100644
--- a/tools/gdb/nuttxgdb/wdog.py
+++ b/tools/pynuttx/nxgdb/wdog.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/wdog.py
+# tools/pynuttx/nxgdb/wdog.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/nuttxgdb/wqueue.py b/tools/pynuttx/nxgdb/wqueue.py
similarity index 99%
rename from tools/gdb/nuttxgdb/wqueue.py
rename to tools/pynuttx/nxgdb/wqueue.py
index a768411f39..52abf553a2 100644
--- a/tools/gdb/nuttxgdb/wqueue.py
+++ b/tools/pynuttx/nxgdb/wqueue.py
@@ -1,5 +1,5 @@
 ############################################################################
-# tools/gdb/nuttxgdb/wqueue.py
+# tools/pynuttx/nxgdb/wqueue.py
 #
 # SPDX-License-Identifier: Apache-2.0
 #
diff --git a/tools/gdb/pyproject.toml b/tools/pynuttx/pyproject.toml
similarity index 92%
rename from tools/gdb/pyproject.toml
rename to tools/pynuttx/pyproject.toml
index b8b271cbd9..d8dc657723 100644
--- a/tools/gdb/pyproject.toml
+++ b/tools/pynuttx/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
 
 [project]
 version = "0.0.1"
-name = 'nuttxgdb'
+name = 'nxgdb'
 description = 'NuttX RTOS GDB extensions'
 readme = "README.md"
 license = { file = 'LICENSE' }
@@ -19,4 +19,4 @@ dependencies = ["matplotlib", "numpy", "pyelftools"]
 requires-python = ">=3.8"
 
 [tool.setuptools.package-dir]
-nuttxgdb = "nuttxgdb"
+nxgdb = "nxgdb"
diff --git a/tools/gdb/requirements.txt b/tools/pynuttx/requirements.txt
similarity index 100%
rename from tools/gdb/requirements.txt
rename to tools/pynuttx/requirements.txt

Reply via email to