Skip to content
Permalink
Browse files

Fix gdb and lldb runners.

  • Loading branch information...
patzim committed Mar 25, 2019
1 parent 888cf8c commit 7846144e6aa0b1d3afccd032da96c0e2050d1d13
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/build/create-moar-runner.p6
@@ -112,8 +112,8 @@ sub get-debugger-text($toolchain) {
}

sub get-perl6-debug-runner($toolchain, $perl6, $env-vars) {
my $cmdline = $toolchain eq 'gdb' ?? '%sgdb --quiet --ex=run --args %s "$@"'.sprintf($env-vars, $perl6)
!! $toolchain eq 'lldb' ?? '%slldb %s -- "$@"'.sprintf($env-vars, $perl6) !! die;
my $cmdline = $toolchain eq 'gdb' ?? '%sgdb --quiet --ex=run --args $DIR/%s "$@"'.sprintf($env-vars, $perl6)
!! $toolchain eq 'lldb' ?? '%slldb $DIR/%s -- "$@"'.sprintf($env-vars, $perl6) !! die;
return sprintf(q:to/EOS/, $bash-prelude, $env-vars, $perl6, get-debugger-text($toolchain), $cmdline);
%s

0 comments on commit 7846144

Please sign in to comment.
You can’t perform that action at this time.