diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2024-01-31 23:02:18 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-02-03 16:46:10 +1000 |
commit | da4038d2da6d3a3d5f86665bd51b2ba49df5d652 (patch) | |
tree | 2adef13419ab78ea870def32d84356c5abb8f577 /docs/sphinx/qapidoc.py | |
parent | 3b916140043e2757dd8d51ec641a6885e960e6ca (diff) | |
download | qemu-da4038d2da6d3a3d5f86665bd51b2ba49df5d652.zip qemu-da4038d2da6d3a3d5f86665bd51b2ba49df5d652.tar.gz qemu-da4038d2da6d3a3d5f86665bd51b2ba49df5d652.tar.bz2 |
tests/tcg: Fix the /proc/self/mem probing in the PROT_NONE gdbstub test
The `if not probe_proc_self_mem` check never passes, because
probe_proc_self_mem is a function object, which is a truthy value.
Add parentheses in order to perform a function call.
Fixes: dc84d50a7f9b ("tests/tcg: Add the PROT_NONE gdbstub test")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240131220245.235993-1-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'docs/sphinx/qapidoc.py')
0 files changed, 0 insertions, 0 deletions