gcc-arm-embedded: pass args to gdb
The wrapper around `arm-none-eabi-gdb` was not passing through the command line arguments. This would cause build systems that attempted to determine the gdb version to hang. Match the other wrapper by adding `"$@"`, and using `exec` to call the unwrapped process.
This commit is contained in:
parent
69e6642e49
commit
584c58cf27
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||
#!${runtimeShell}
|
||||
export PYTHONPATH=${python38}/lib/python3.8
|
||||
export PYTHONHOME=${python38}/bin/python3.8
|
||||
$out/bin/arm-none-eabi-gdb-unwrapped
|
||||
exec $out/bin/arm-none-eabi-gdb-unwrapped "\$@"
|
||||
EOF
|
||||
chmod +x $out/bin/arm-none-eabi-gdb
|
||||
'';
|
||||
|
|
|
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
|||
#!${runtimeShell}
|
||||
export PYTHONPATH=${python38}/lib/python3.8
|
||||
export PYTHONHOME=${python38}/bin/python3.8
|
||||
$out/bin/arm-none-eabi-gdb-unwrapped
|
||||
exec $out/bin/arm-none-eabi-gdb-unwrapped "\$@"
|
||||
EOF
|
||||
chmod +x $out/bin/arm-none-eabi-gdb
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue