Merge pull request #245513 from lsix/gdb-disable-sim

gdb: disable sim by default

authored by lsix and committed by GitHub 2a74588a 92e83bfa

+3 -1
+3 -1
pkgs/development/tools/misc/gdb/default.nix
··· 10 , enableDebuginfod ? lib.meta.availableOn stdenv.hostPlatform elfutils, elfutils 11 , guile ? null 12 , hostCpuOnly ? false 13 , safePaths ? [ 14 # $debugdir:$datadir/auto-load are whitelisted by default by GDB 15 "$debugdir" "$datadir/auto-load" ··· 113 ] ++ lib.optional (!pythonSupport) "--without-python" 114 ++ lib.optional stdenv.hostPlatform.isMusl "--disable-nls" 115 ++ lib.optional stdenv.hostPlatform.isStatic "--disable-inprocess-agent" 116 - ++ lib.optional enableDebuginfod "--with-debuginfod=yes"; 117 118 postInstall = 119 '' # Remove Info files already provided by Binutils and other packages.
··· 10 , enableDebuginfod ? lib.meta.availableOn stdenv.hostPlatform elfutils, elfutils 11 , guile ? null 12 , hostCpuOnly ? false 13 + , enableSim ? false 14 , safePaths ? [ 15 # $debugdir:$datadir/auto-load are whitelisted by default by GDB 16 "$debugdir" "$datadir/auto-load" ··· 114 ] ++ lib.optional (!pythonSupport) "--without-python" 115 ++ lib.optional stdenv.hostPlatform.isMusl "--disable-nls" 116 ++ lib.optional stdenv.hostPlatform.isStatic "--disable-inprocess-agent" 117 + ++ lib.optional enableDebuginfod "--with-debuginfod=yes" 118 + ++ lib.optional (!enableSim) "--disable-sim"; 119 120 postInstall = 121 '' # Remove Info files already provided by Binutils and other packages.