Module: Mesa Branch: main Commit: 38f941c8a85b8bed4e955dda8b9a6e890cef24ec URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=38f941c8a85b8bed4e955dda8b9a6e890cef24ec
Author: Ian Romanick <[email protected]> Date: Mon Jun 19 16:28:23 2023 -0700 intel/stub_gpu: Don't run program again after using GDB Fixes: c56dd678e48 ("intel/stub_gpu: add an option to launch valgrind") Reviewed-by: Lionel Landwerlin <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23736> --- src/intel/tools/intel_stub_gpu.in | 1 - 1 file changed, 1 deletion(-) diff --git a/src/intel/tools/intel_stub_gpu.in b/src/intel/tools/intel_stub_gpu.in index 068cda91cf7..7e67c234a9f 100755 --- a/src/intel/tools/intel_stub_gpu.in +++ b/src/intel/tools/intel_stub_gpu.in @@ -73,7 +73,6 @@ INTEL_STUB_GPU_PLATFORM=$platform ld_preload="@install_libdir@/libintel_noop_drm_shim.so${LD_PRELOAD:+:$LD_PRELOAD}" if [ -n "$gdb" ]; then gdb -iex "set exec-wrapper env LD_PRELOAD=$ld_preload INTEL_STUB_GPU_PLATFORM=$platform" --args "$@" - LD_PRELOAD=$ld_preload INTEL_STUB_GPU_PLATFORM=$platform exec "$@" elif [ -n "$valgrind" ]; then LD_PRELOAD=$ld_preload INTEL_STUB_GPU_PLATFORM=$platform exec valgrind "$@" else
