From 02513a43f467429934193ee94a4ae767eaa61f8f Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Fri, 3 Feb 2023 12:54:10 -0800 Subject: Update llgdb to use python3. --- cross-project-tests/debuginfo-tests/llgdb-tests/test_debuginfo.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cross-project-tests') diff --git a/cross-project-tests/debuginfo-tests/llgdb-tests/test_debuginfo.pl b/cross-project-tests/debuginfo-tests/llgdb-tests/test_debuginfo.pl index 23d2304be7aa..6dbc3b9b8632 100755 --- a/cross-project-tests/debuginfo-tests/llgdb-tests/test_debuginfo.pl +++ b/cross-project-tests/debuginfo-tests/llgdb-tests/test_debuginfo.pl @@ -56,8 +56,7 @@ my $my_debugger = $ENV{'DEBUGGER'}; if (!$my_debugger) { if ($use_lldb) { my $path = dirname(Cwd::abs_path($0)); - # At least on darwin, LLDB needs te system python. - $my_debugger = "/usr/bin/python $path/llgdb.py"; + $my_debugger = "/usr/bin/env python3 $path/llgdb.py"; } else { $my_debugger = "gdb"; } -- cgit v1.2.1