Don't hardcode CONTEXT size for a NOTE_INFO_THREAD win32pstatus note
authorJon Turney <jon.turney@dronecode.org.uk>
Mon, 29 Jun 2020 16:15:02 +0000 (17:15 +0100)
committerJon Turney <jon.turney@dronecode.org.uk>
Wed, 12 Aug 2020 14:08:25 +0000 (15:08 +0100)
commit03c29a6faf7bd25a4ff368530e700f70363fe772
treefeab5e5e61649e56506a5c60757013c767b784eb
parent8fbac78b147290e696f04029ecc7ebab3a64e97d
Don't hardcode CONTEXT size for a NOTE_INFO_THREAD win32pstatus note

Don't hardcode the size of the Win32 API thread CONTEXT type read from a
NOTE_INFO_THREAD win32pstatus note (since it's different on different
architectures).

bfd/ChangeLog:

2020-07-01  Jon Turney  <jon.turney@dronecode.org.uk>

* elf.c (elfcore_grok_win32pstatus): Don't hardcode the size of
the Win32 API thread CONTEXT type read from a NOTE_INFO_THREAD
win32pstatus note.
bfd/ChangeLog
bfd/elf.c