Skip to content

Commit f7a1a53

Browse files
committed
pynuttx: update
Commit 6ed4ea6 renamed the function `mm_initialize` to `mm_initialize_heap`. This caused the pynuttx modules (e.g. `mm dump`) to be missing.
1 parent 3722664 commit f7a1a53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/pynuttx/nxgdb/mm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class MMNode(gdb.Value, p.MMFreeNode):
374374
MM_MASK_BIT = MM_ALLOC_BIT | MM_PREVFREE_BIT
375375
MM_SIZEOF_ALLOCNODE = utils.sizeof("struct mm_allocnode_s")
376376
MM_ALLOCNODE_OVERHEAD = MM_SIZEOF_ALLOCNODE - utils.sizeof("mmsize_t")
377-
MM_MIN_CHUNK = utils.get_symbol_value("MM_MIN_CHUNK", locspec="mm_initialize")
377+
MM_MIN_CHUNK = utils.get_symbol_value("MM_MIN_CHUNK", locspec="mm_initialize_heap")
378378

379379
def __init__(self, node: gdb.Value):
380380
if node.type.code == gdb.TYPE_CODE_PTR:

0 commit comments

Comments
 (0)