summaryrefslogtreecommitdiff
path: root/gprofng/config
diff options
context:
space:
mode:
authorJan Vrany <jan.vrany@labware.com>2023-01-18 11:34:37 +0000
committerJan Vrany <jan.vrany@labware.com>2023-01-18 11:34:37 +0000
commit722e0dd9e4f03d66666c5b62e162da31cafe6d9f (patch)
treec9520fd8df787228bb7f21ea6dc5e6ac3dc5522c /gprofng/config
parent94e76498c3790d90c383621b88268abf9acdd5bf (diff)
downloadbinutils-gdb-722e0dd9e4f03d66666c5b62e162da31cafe6d9f.tar.gz
gdb: care for dynamic objfiles in build_id_bfd_get ()
Accessing gdb.Objfile.build_id caused GDB to crash when objfile is dynamic, that is created by JIT reader API. The issue was NULL-pointer dereferencing in build_id_bfd_get () because dynamic objfiles have no underlaying BFD structure. This commit fixes the problem by a NULL-check in build_id_bfd_get ().
Diffstat (limited to 'gprofng/config')
0 files changed, 0 insertions, 0 deletions