diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/libsegfault.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/libsegfault.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/libsegfault.exp b/gdb/testsuite/gdb.base/libsegfault.exp index 2c16fe8..eab12ff 100644 --- a/gdb/testsuite/gdb.base/libsegfault.exp +++ b/gdb/testsuite/gdb.base/libsegfault.exp @@ -1,4 +1,4 @@ -# Copyright 2017-2024 Free Software Foundation, Inc. +# Copyright 2017-2025 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -42,7 +42,7 @@ proc gdb_spawn_with_ld_preload {lib cmdline_opts} { # ASan runtime does not come first in initial library list; you should # either link runtime to your application or manually preload it with # LD_PRELOAD. - set_sanitizer_default ASAN_OPTIONS verify_asan_link_order 0 + append_environment_default ASAN_OPTIONS verify_asan_link_order 0 gdb_spawn_with_cmdline_opts $cmdline_opts } |