chore(lvglgdb): fix TypeError in lv_obj.py while dump specify object (#9375)

Signed-off-by: rongyichang <rongyichang@xiaomi.com>
This commit is contained in:
terry.rong
2025-12-09 02:16:15 +08:00
committed by GitHub
parent cf74797654
commit 3c7cf1dea3
+2 -1
View File
@@ -3,6 +3,7 @@ import gdb
from lvglgdb.lvgl import curr_inst
from lvglgdb.lvgl import LVObject, dump_obj_info
from lvglgdb.value import Value
class DumpObj(gdb.Command):
@@ -51,7 +52,7 @@ class DumpObj(gdb.Command):
if args.root:
root = gdb.parse_and_eval(args.root)
root = LVObject(root)
root = LVObject(Value(root))
self.dump_obj(root, limit=args.level)
else:
# dump all displays