nixpkgs/pkgs/development/tools/misc/gdb
tollb ad337f7f3a
gdb: Fix abort w/NIX_DEBUG_INFO_DIRS patch (#80929)
The current gdb patch to support NIX_DEBUG_INFO_DIRS fails if
the user attempts to change the debug file directory to a
value other than the default. For instance:

(gdb) set debug-file-directory /run/booted-system/sw/lib/debug

results in:

munmap_chunk(): invalid pointer
Aborted (core dumped)

To fix this issue, the debug_file_directory is allocated
with xstrdup so that a subsequent call to xfree will succeed.
2020-02-25 01:18:09 +00:00
..
darwin-target-match.patch
debug-info-from-env.patch gdb: Fix abort w/NIX_DEBUG_INFO_DIRS patch (#80929) 2020-02-25 01:18:09 +00:00
default.nix gdb: Fix safe path for cross 2019-12-01 17:13:24 -05:00