diff options
author | Christina Schimpe <christina.schimpe@intel.com> | 2024-06-12 04:23:11 -0400 |
---|---|---|
committer | Christina Schimpe <christina.schimpe@intel.com> | 2025-02-13 16:51:13 +0000 |
commit | c8e44eb2818fa37dc8389e012e3b36c4c2fd2237 (patch) | |
tree | aee577b66d5aeed0ecb53e9bc1e88360477de81b /gdb/testsuite/gdb.dap | |
parent | 5d43cdc1005ce828a2623b41e68649f7565f8b38 (diff) | |
download | binutils-c8e44eb2818fa37dc8389e012e3b36c4c2fd2237.zip binutils-c8e44eb2818fa37dc8389e012e3b36c4c2fd2237.tar.gz binutils-c8e44eb2818fa37dc8389e012e3b36c4c2fd2237.tar.bz2 |
gdb, testsuite: Rename set_sanitizer procedures to append_environment.
The procedures set_sanitizer_1, set_sanitizer and set_sanitizer_default
are used for the configuration of ASAN specific environment variables.
However, they are actually generic. Rename them to append_environment*
so that their purpose is more clear.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/testsuite/gdb.dap')
-rw-r--r-- | gdb/testsuite/gdb.dap/memory.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.dap/memory.exp b/gdb/testsuite/gdb.dap/memory.exp index 89ae8bb..41f4f8d 100644 --- a/gdb/testsuite/gdb.dap/memory.exp +++ b/gdb/testsuite/gdb.dap/memory.exp @@ -29,8 +29,8 @@ save_vars { env(ASAN_OPTIONS) env(TSAN_OPTIONS) } { # The request readMemory with count 18446744073709551615 triggers address # sanitizer. Suppress the error, leaving us with just this warning: # WARNING: AddressSanitizer failed to allocate 0xffffffffffffffff bytes - set_sanitizer ASAN_OPTIONS allocator_may_return_null 1 - set_sanitizer TSAN_OPTIONS allocator_may_return_null 1 + append_environment ASAN_OPTIONS allocator_may_return_null 1 + append_environment TSAN_OPTIONS allocator_may_return_null 1 if {[dap_initialize] == ""} { return |