mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
run + noux_gdb: fix source archiving
We do not have debug symbols in the bin/ binaries anymore. Thus, use the debug/ binaries instead. We now have kernel specific binary names for ld.lib.so and some others. Adapt, to this fact as well. For doing so without unnecessary output, provide a new parameter "silent" at the "kernel_specific_binary" procedure. Ref #2398
This commit is contained in:
committed by
Christian Helmuth
parent
d094ff995f
commit
228dbdd527
@@ -451,14 +451,16 @@ proc kernel_location_from_config_file { config_file default_location } {
|
||||
# case for regular binaries that appear in the boot directory under their
|
||||
# original name.
|
||||
#
|
||||
proc kernel_specific_binary { binary } {
|
||||
proc kernel_specific_binary { binary {silent ""} } {
|
||||
|
||||
regsub -all {\.} $binary "_" function_suffix
|
||||
set function_name "binary_name_$function_suffix"
|
||||
|
||||
if {[info procs $function_name] == $function_name} {
|
||||
set binary_name [$function_name]
|
||||
puts "using '$binary_name' as '$binary'"
|
||||
if {$silent != "silent"} {
|
||||
puts "using '$binary_name' as '$binary'"
|
||||
}
|
||||
return [$function_name]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user