mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 06:20:19 +01:00
intel/stub_gpu: Don't run program again after using GDB
Fixes: c56dd678e4 ("intel/stub_gpu: add an option to launch valgrind")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23736>
This commit is contained in:
parent
23c003b88c
commit
38f941c8a8
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue