mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
pynuttx: update
Commit 6ed4ea63d renamed the function `mm_initialize` to
`mm_initialize_heap`.
This caused the pynuttx modules (e.g. `mm dump`) to be missing.
Signed-off-by: Lars Kruse <devel@sumpfralle.de>
This commit is contained in:
@@ -374,7 +374,7 @@ class MMNode(gdb.Value, p.MMFreeNode):
|
||||
MM_MASK_BIT = MM_ALLOC_BIT | MM_PREVFREE_BIT
|
||||
MM_SIZEOF_ALLOCNODE = utils.sizeof("struct mm_allocnode_s")
|
||||
MM_ALLOCNODE_OVERHEAD = MM_SIZEOF_ALLOCNODE - utils.sizeof("mmsize_t")
|
||||
MM_MIN_CHUNK = utils.get_symbol_value("MM_MIN_CHUNK", locspec="mm_initialize")
|
||||
MM_MIN_CHUNK = utils.get_symbol_value("MM_MIN_CHUNK", locspec="mm_initialize_heap")
|
||||
|
||||
def __init__(self, node: gdb.Value):
|
||||
if node.type.code == gdb.TYPE_CODE_PTR:
|
||||
|
||||
Reference in New Issue
Block a user