opcache gdb: Set the EI_OSABI value for NetBSD.

Closes GH-5948.
This commit is contained in:
David Carlier 2020-08-06 16:10:24 +01:00 committed by Nikita Popov
parent 046cc5e4c2
commit 327db7e595

View File

@ -144,6 +144,8 @@ static const zend_elf_header zend_elfhdr_template = {
.eosabi = 9,
#elif defined(__OpenBSD__)
.eosabi = 12,
#elif defined(__NetBSD__)
.eosabi = 2,
#elif defined(__DragonFly__)
.eosabi = 0,
#elif (defined(__sun__) && defined(__svr4__))