mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: write small gdb patch to show libraries in unknown coredump backtraces
This commit is contained in:
parent
451b562fd4
commit
154a2518e0
2 changed files with 44 additions and 3 deletions
|
@ -3,9 +3,17 @@
|
|||
# Also make it the default gdb.
|
||||
pwndbgWithDebuginfod =
|
||||
(pkgs.pwndbg.override {
|
||||
gdb = pkgs.gdb.override {
|
||||
enableDebuginfod = true;
|
||||
};
|
||||
gdb =
|
||||
(pkgs.gdb.override {
|
||||
enableDebuginfod = true;
|
||||
})
|
||||
.overrideAttrs (_finalAttrs: previousAttrs: {
|
||||
patches =
|
||||
previousAttrs.patches
|
||||
++ [
|
||||
./0001-gdb-show-libraries-in-coredump-backtrace.patch
|
||||
];
|
||||
});
|
||||
})
|
||||
.overrideAttrs (_finalAttrs: previousAttrs: {
|
||||
installPhase =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue