You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/core/tools/gdb_scripts/layout_size.gdb

19 lines
311 B

set pagination off
set print array on
set print pretty on
# pwd is core/src
set logging file ../tools/gdb_scripts/layout_size.log
set logging on
break src/ui/layout/obj.rs:122
commands 1
print "Size of current root layout"
print sizeof(root)
print root
# not stopping the debugger
continue
end
run