aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dap/memory.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dap/memory.exp')
-rw-r--r--gdb/testsuite/gdb.dap/memory.exp4
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