diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-10-02 15:18:15 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-10-19 12:15:08 +0100 |
commit | 536ff91bb8ea90c98737571f85827ce6770324c9 (patch) | |
tree | ad710942bc16024b44c9f9fe5a7b09d0c06bedb4 /gdb/ui-style.c | |
parent | 6d6ae7c23dd59fe16f3e366e969b927d97fe5e01 (diff) | |
download | binutils-536ff91bb8ea90c98737571f85827ce6770324c9.zip binutils-536ff91bb8ea90c98737571f85827ce6770324c9.tar.gz binutils-536ff91bb8ea90c98737571f85827ce6770324c9.tar.bz2 |
gdb/testsuite: avoid creating files in gdb/testsuite directory
I spotted that the test gdb.dwarf2/dw2-using-debug-str.exp was
creating an output file called debug_str_section in the root
build/gdb/testsuite directory instead of using the
build/gdb/testsuite/output/gdb.dwarf2/dw2-using-debug-str/ directory.
This appears to be caused by a missing '$' character. We setup a
variable debug_str_section which contains a path within the output
directory, but then when we build the objcopy command we use
'debug_str_section' without a '$' prefix, as a result, we create the
debug_str_section file.
This commit adds the missing '$', the file is now created in the
output directory.
Diffstat (limited to 'gdb/ui-style.c')
0 files changed, 0 insertions, 0 deletions