summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/intel_dump_gpu.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/tools/intel_dump_gpu.in')
-rwxr-xr-xsrc/intel/tools/intel_dump_gpu.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/tools/intel_dump_gpu.in b/src/intel/tools/intel_dump_gpu.in
index a4ceaba7090..f9fed66c1e3 100755
--- a/src/intel/tools/intel_dump_gpu.in
+++ b/src/intel/tools/intel_dump_gpu.in
@@ -115,9 +115,9 @@ tmp_file=`mktemp`
echo -e $args > $tmp_file
if [ -z $gdb ]; then
- LD_PRELOAD="$ld_preload" INTEL_DUMP_GPU_CONFIG=$tmp_file $@
+ LD_PRELOAD="$ld_preload" INTEL_DUMP_GPU_CONFIG=$tmp_file "$@"
else
- gdb -iex "set exec-wrapper env LD_PRELOAD=$ld_preload INTEL_DUMP_GPU_CONFIG=$tmp_file" --args $@
+ gdb -iex "set exec-wrapper env LD_PRELOAD=$ld_preload INTEL_DUMP_GPU_CONFIG=$tmp_file" --args "$@"
fi
ret=$?