[PATCH 4/7] Add sniffer for Cygwin x86_64 core dumps

Jon Turney jon.turney@dronecode.org.uk
Mon Jul 6 18:46:34 GMT 2020


On 03/07/2020 15:17, Simon Marchi wrote:
> On 2020-07-03 9:30 a.m., Jon Turney wrote:
>> It certainly would be possible to improve this by checking if the ELF file contains a note of type NT_WIN32PSTATUS, but I'm not sure how we might do that here.
> 
> You have access to the `bfd *`.  I'm not familiar with the BFD API, but
> surely it can give you access to that?

"notes" don't appear to be part of the data model used by the BFD API 
(which I guess is why they are turned into pseudo-sections by the 
various functions called by elfcore_grok_note())


More information about the Gdb-patches mailing list