diff options
author | Viktor Vilhelm Sonesten <tmplt@dragons.rocks> | 2019-11-25 20:48:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-25 20:48:28 +0100 |
commit | 2c50bd398463bc2e67824dbf094b157b618e8623 (patch) | |
tree | 9003a6ece27c0becae26d849adc3e95c4f7aee7c /pkgs/development/tools/misc | |
parent | 75348fafae03c3e27b537c96fc8f88eeb6edc99c (diff) |
gdb: prepend default safe paths
Co-Authored-By: Jörg Thalheim <Mic92@users.noreply.github.com>
Diffstat (limited to 'pkgs/development/tools/misc')
-rw-r--r-- | pkgs/development/tools/misc/gdb/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/gdb/default.nix b/pkgs/development/tools/misc/gdb/default.nix index a4a753bd14bda..335699ee5600e 100644 --- a/pkgs/development/tools/misc/gdb/default.nix +++ b/pkgs/development/tools/misc/gdb/default.nix @@ -8,7 +8,8 @@ , pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null , guile ? null -, safePaths ? [ stdenv.cc.cc.lib ] +# $debugdir:$datadir/auto-load are whitelisted by default by GDB +, safePaths ? [ "$debugdir" "$datadir/auto-load" stdenv.cc.cc.lib ] }: |