Commit Graph

4 Commits

Author SHA1 Message Date
Lancelot SIX
4e08586690 gdb: 8.3.1 -> 9.1
See https://www.gnu.org/software/gdb/download/ANNOUNCEMENT for release
information
2020-03-06 07:04:07 +01:00
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
Orivej Desh
471f1be718 gdb: 8.1.1 -> 8.2 (#50444) 2018-11-16 07:31:05 +00:00
Eelco Dolstra
5b09152898
gdb: Look for .build-id files in NIX_DEBUG_INFO_DIRS
This allows us to provide a setup hook that makes debug outputs
findable by gdb.
2017-07-28 16:38:22 +02:00