mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-15 15:07:16 +00:00
run: provide core image with path information
Previously, the debugging version of the core image (<build_dir>/var/run/<run_name>.core) was created by the run tool from the common core object file (<build_dir>/var/run/<run_name>/core-<kernel>.o). This object file, however, was already stripped by the build system and thus didn't contain debug info anymore. The build system also creates an unstripped version in <build_dir>/debug/core-<kernel>.o, so we now use this one for <build_dir>/var/run/<run_name>.core. Ref #2254
This commit is contained in:
parent
274b7983c1
commit
91a8c8975d
@ -74,7 +74,7 @@ proc run_boot_dir {binaries} {
|
||||
set bootstrap_obj bootstrap-hw.o
|
||||
|
||||
# create core and bootstrap binary without modules for debugging
|
||||
build_core [run_dir]/genode/$core_obj {} [run_dir].core [core_link_address]
|
||||
build_core debug/$core_obj {} [run_dir].core [core_link_address]
|
||||
build_core [run_dir]/genode/$bootstrap_obj {} [run_dir].bootstrap [bootstrap_link_address]
|
||||
|
||||
# determine modules to be incorporated into the core image
|
||||
|
@ -784,7 +784,7 @@ proc build_core_image { modules } {
|
||||
copy_genode_binaries_to_run_dir $modules
|
||||
|
||||
# create core binary without modules for debugging
|
||||
build_core [run_dir]/genode/$core_obj {} [run_dir].core [core_link_address]
|
||||
build_core debug/$core_obj {} [run_dir].core [core_link_address]
|
||||
|
||||
# determine modules to be incorporated into the core image
|
||||
set modules [glob -nocomplain -tails -directory [run_dir]/genode/ *]
|
||||
|
Loading…
x
Reference in New Issue
Block a user