10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 12:23:43 +01:00

Add --args to gdb when -p gdb is used

This commit is contained in:
Anthony Scemama 2024-09-27 14:15:48 +02:00
parent 775cfa66d7
commit 7683786d11

View File

@ -132,6 +132,7 @@ let run slave ?prefix exe ezfio_file =
(** Run executable *) (** Run executable *)
let prefix = let prefix =
match prefix with match prefix with
| Some "gdb" -> "gdb --args "
| Some x -> x^" " | Some x -> x^" "
| None -> "" | None -> ""
and exe = and exe =