mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
more uses of standard_output_file
A few spots in lib make output files, either in "." or in $objdir/$subdir. This patch changes these spots to use standard_output_file. This help the parallelization project. * lib/gdb.exp (build_id_debug_filename_get): Use standard_output_file. * lib/prelink-support.exp (section_get) (build_executable_own_libs): Use standard_output_file.
This commit is contained in:
@ -3890,7 +3890,7 @@ proc gdb_skip_xml_test { } {
|
||||
# converted to the form: .build-id/ab/cdef1234...89.debug
|
||||
# Return "" if no build-id found.
|
||||
proc build_id_debug_filename_get { exec } {
|
||||
set tmp "${exec}-tmp"
|
||||
set tmp [standard_output_file "${exec}-tmp"]
|
||||
set objcopy_program [transform objcopy]
|
||||
|
||||
set result [catch "exec $objcopy_program -j .note.gnu.build-id -O binary $exec $tmp" output]
|
||||
|
Reference in New Issue
Block a user