mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 13:26:27 +00:00
tool/run: create debug files for backtrace of core
When building ELF binaries of core and bootstrap for a run scenario, also create the *.core.debug file to be able to use the tool/backtrace utility. Ref genodelabs/genode#5387
This commit is contained in:
parent
2c2fb6b70e
commit
cc2bcee417
@ -103,6 +103,7 @@ proc run_boot_dir {binaries} {
|
|||||||
if {[file exists debug/core-hw-[board].a]} {
|
if {[file exists debug/core-hw-[board].a]} {
|
||||||
build_core debug/core-hw-[board].a {} [run_dir].core [core_link_address]
|
build_core debug/core-hw-[board].a {} [run_dir].core [core_link_address]
|
||||||
build_core [run_dir]/genode/$bootstrap_obj {} [run_dir].bootstrap [bootstrap_link_address]
|
build_core [run_dir]/genode/$bootstrap_obj {} [run_dir].bootstrap [bootstrap_link_address]
|
||||||
|
exec [cross_dev_prefix]objcopy --only-keep-debug [run_dir].core [run_dir].core.debug
|
||||||
}
|
}
|
||||||
|
|
||||||
# determine modules to be incorporated into the core image
|
# determine modules to be incorporated into the core image
|
||||||
|
Loading…
Reference in New Issue
Block a user