Skip to content
Snippets Groups Projects
Commit 0730aca7 authored by Millian Poquet's avatar Millian Poquet
Browse files

dump

parent 7979c0b2
No related branches found
No related tags found
No related merge requests found
result* result*
simu-out simu-out
*analysis.html *analysis.html
.gdb*
...@@ -95,6 +95,16 @@ ...@@ -95,6 +95,16 @@
pkgs.rPackages.viridis pkgs.rPackages.viridis
]; ];
}; };
simulation-debug = simulation.overrideAttrs (finalAttrs: previousAttrs: rec {
DEBUG_SRC_DIRS = packages.batsim.DEBUG_SRC_DIRS ++ packages.edc.DEBUG_SRC_DIRS;
GDB_DIR_ARGS = packages.batsim.GDB_DIR_ARGS ++ packages.edc.GDB_DIR_ARGS;
buildInputs = previousAttrs.buildInputs ++ [ pkgs.gdb pkgs.cgdb ];
shellHook = ''
echo Found debug_info source paths. ${builtins.concatStringsSep ":" DEBUG_SRC_DIRS}
echo Run the following command to automatically load these directories to gdb.
echo gdb \$\{GDB_DIR_ARGS\}
'';
});
}; };
} }
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment