Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong debug function cause kinds of building error #25519

Closed
wentongwu opened this issue May 21, 2020 · 0 comments · Fixed by #25513
Closed

wrong debug function cause kinds of building error #25519

wentongwu opened this issue May 21, 2020 · 0 comments · Fixed by #25513
Assignees
Labels
area: Build System bug The issue is a bug, or the PR is fixing a bug

Comments

@wentongwu
Copy link
Contributor

Describe the bug
in scripts/elf_helper.py, function debug_die is used to dump DIE information and function debug is for common information, the step 4 of function find_kobjects is checking all the kernel objects instead of DIE which has already been checked in step 3, so we should use debug function to do the dump, debug_die will cause unforeseen errors.

@wentongwu wentongwu added the bug The issue is a bug, or the PR is fixing a bug label May 21, 2020
@wentongwu wentongwu self-assigned this May 21, 2020
wentongwu added a commit to wentongwu/zephyr that referenced this issue May 21, 2020
In step 4 of find_kobjects, use func debug instead of debug_die
to dump debug info to avoid dump wrong info.

Fixes: zephyrproject-rtos#25519.

Signed-off-by: Wentong Wu <wentong.wu@intel.com>
nashif pushed a commit that referenced this issue Jun 4, 2020
In step 4 of find_kobjects, use func debug instead of debug_die
to dump debug info to avoid dump wrong info.

Fixes: #25519.

Signed-off-by: Wentong Wu <wentong.wu@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Build System bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants