changeset 28771:671fd568b130

maint: merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 22 Sep 2020 19:26:09 +0200
parents 903fe321649b (current diff) 61788482bcb7 (diff)
children d2ad5e0e5aca
files
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/testfun/__debug_octave__.m	Tue Sep 22 15:59:00 2020 +0200
+++ b/scripts/testfun/__debug_octave__.m	Tue Sep 22 19:26:09 2020 +0200
@@ -54,12 +54,12 @@
     if (status != 0)
       error ("unable to execute gdb");
     endif
-    if (isunix ())
+    if (ismac ())
+      command_string = "osascript -e 'tell application \"Terminal\" to do script \"lldb -p %d\"'";
+    elseif (isunix ())
       command_string = "x-terminal-emulator -e gdb -p %d";
     elseif (ispc ())
       command_string = "cmd /c start gdb -p %d";
-    elseif (ismac ())
-      command_string = "osascript -e 'tell application \"Terminal\" to do script \"lldb -p %d\"'";
     else
       error ("unknown system -- unable to determine how to start debugger");
     endif