binutils-gdb/gdb/testsuite/gdb.dap
Tom de Vries 11fe8653a9 [gdb/testsuite] Fix gdb.python/py-inferior.exp with -fsanitize=thread
With a gdb build with -fsanitize=thread, and test-case
gdb.python/py-inferior.exp I run into:
...
(gdb) python gdb.selected_inferior().read_memory (0, 0xffffffffffffffff)^M
ERROR: ThreadSanitizer: requested allocation size 0xffffffffffffffff exceeds \
  maximum supported size of 0x10000000000^M
...

There's already a workaround for this using ASAN_OPTIONS, and apparently the
same is needed for TSAN_OPTIONS.

Add the allocator_may_return_null=1 workaround also in TSAN_OPTIONS.

Likewise in gdb.dap/memory.exp.

Tested on x86_64-linux.
2024-10-07 10:44:45 +02:00
..
ada-arrays
ada-nested
ada-scopes
catch-exception
ada-arrays.exp
ada-nested.exp
ada-scopes.exp
args-env.c
args-env.exp
assign.c
assign.exp
assign.py
attach.c
attach.exp
basic-dap.c
basic-dap.exp
bt-inner.c
bt-main.c
bt-nodebug.exp
catch-exception.exp Fix failure with C++ exceptions in DAP 2024-08-14 10:08:58 -06:00
children.exp
children.py
cond-bp.c
cond-bp.exp
cwd.exp
cxx-exception.cc
cxx-exception.exp Fix failure with C++ exceptions in DAP 2024-08-14 10:08:58 -06:00
disassem.c
disassem.exp
eof.exp
frameless.c
frameless.exp
global.c Fix DAP failure when fetching global variables 2024-08-16 08:47:00 -06:00
global.exp Fix DAP failure when fetching global variables 2024-08-16 08:47:00 -06:00
hover.c
hover.exp
insn-bp.exp Notify Python when breakpoint symbol changes 2024-08-14 10:08:58 -06:00
lazy-string.c
lazy-string.exp
lazy-string.py
log-message.c
log-message.exp
memory.c
memory.exp [gdb/testsuite] Fix gdb.python/py-inferior.exp with -fsanitize=thread 2024-10-07 10:44:45 +02:00
modules-solib.c
modules.c
modules.exp
pause.c
pause.exp
ptrref.cc
ptrref.exp
remote-dap.exp
rust-slices.exp
rust-slices.rs
scopes.c
scopes.exp
sources.c
sources.exp
stack-format.c
stack-format.exp
stack-format.py
step-out.c
step-out.exp Add returnValue scope to DAP 2024-07-23 11:31:49 -06:00
stop-at-main.exp
terminate.exp
type_check.exp
type_check.py