bfd: add elfcore_write_file_note
authorMihails Strasuns <mihails.strasuns@intel.com>
Wed, 16 Dec 2020 19:36:15 +0000 (20:36 +0100)
committerMihails Strasuns <mihails.strasuns@intel.com>
Tue, 26 Jan 2021 12:22:35 +0000 (13:22 +0100)
commit4cb1265b3f906cbfd092715b61bb81a8f6179a49
treed86a19ecb73873301fdb36515c7015020c67ae0c
parentc3ffb8f340f567949f24c3bab62259f0e593637f
bfd: add elfcore_write_file_note

Adds a trivial wrapper over elfcore_write_note, primarily to be more
consistent with other ELF note helper functions and highlight NT_FILE as
one of notes handled by gdb.

bfd/ChangeLog:
2020-12-17  Mihails Strasuns  <mihails.strasuns@intel.com>

* bfd-elf.h (elfcore_write_file_note): New function.
* elf.c (elfcore_write_file_note): New function.

gdb/ChangeLog:
2020-12-17  Mihails Strasuns  <mihails.strasuns@intel.com>

* linux-tdep.c (linux_make_mappings_corefile_notes): Start using
elfcore_write_file_note.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
gdb/ChangeLog
gdb/linux-tdep.c
This page took 0.02537 seconds and 4 git commands to generate.