scripts: use debug function instead of debug_die to dump objs
In step 4 of find_kobjects, use func debug instead of debug_die to dump debug info to avoid dump wrong info. Signed-off-by: Wentong Wu <wentong.wu@intel.com>
This commit is contained in:
parent
0bf5113c6b
commit
6c9d4a5c57
1 changed files with 2 additions and 2 deletions
|
@ -611,8 +611,8 @@ def find_kobjects(elf, syms):
|
|||
|
||||
_, user_ram_allowed = kobjects[ko.type_obj.name]
|
||||
if not user_ram_allowed and app_smem_start <= addr < app_smem_end:
|
||||
debug_die(die, "object '%s' found in invalid location %s"
|
||||
% (name, hex(addr)))
|
||||
debug("object '%s' found in invalid location %s"
|
||||
% (ko.type_obj.name, hex(addr)))
|
||||
continue
|
||||
|
||||
if ko.type_obj.name != "device":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue