diff options
author | Adrian Prantl <aprantl@apple.com> | 2023-02-03 12:54:10 -0800 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2023-02-03 12:54:38 -0800 |
commit | 02513a43f467429934193ee94a4ae767eaa61f8f (patch) | |
tree | 17d1c7e2247f736d7e52d0bdc70d3ca6326ee862 /cross-project-tests | |
parent | 98117f1a743cbddefa3dd1c678ce01478fa98454 (diff) | |
download | llvm-02513a43f467429934193ee94a4ae767eaa61f8f.tar.gz |
Update llgdb to use python3.
Diffstat (limited to 'cross-project-tests')
-rwxr-xr-x | cross-project-tests/debuginfo-tests/llgdb-tests/test_debuginfo.pl | 3 |
1 files changed, 1 insertions, 2 deletions
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"; } |