diff options
author | Tom de Vries <tdevries@suse.de> | 2024-04-18 17:01:09 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-04-18 17:01:09 +0200 |
commit | b0c431de3f04e5e97cff0ec917dd457696efd43e (patch) | |
tree | 82d1c07b2cbec7157ac8107830cdd9e0e46760d1 /libctf | |
parent | 523e454fab831e07c83a648c5d07370375a1c376 (diff) | |
download | gdb-b0c431de3f04e5e97cff0ec917dd457696efd43e.zip gdb-b0c431de3f04e5e97cff0ec917dd457696efd43e.tar.gz gdb-b0c431de3f04e5e97cff0ec917dd457696efd43e.tar.bz2 |
[gdb/testsuite] Use allocator_may_return_null=1 in two test-cases
Simon reported [1] that recent commit 06e967dbc9b ("[gdb/python] Throw
MemoryError in inferior.read_memory if malloc fails") introduced
AddressSanitizer allocation-size-too-big errors in the two test-cases
affected by this commit.
Fix this by suppressing the error in the two test-cases using
allocator_may_return_null=1.
Tested on aarch64-linux.
Approved-By: Tom Tromey <tom@tromey.com>
[1] https://sourceware.org/pipermail/gdb-patches/2024-April/208171.html
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions