1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 21:35:45 +02:00

bees: don't try to print si_lower and si_upper

Some build environments (ARM?  AARCH64?) do not have the fields
si_lower and si_upper in siginfo.

bees doesn't need them, so don't try to access them.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell 2019-05-24 14:16:26 -04:00
parent b149528828
commit 2c3d1822f7

View File

@ -686,8 +686,8 @@ operator<<(ostream &os, const siginfo_t &si)
<< "band = " << si.si_band << ", " << "band = " << si.si_band << ", "
<< "fd = " << si.si_fd << ", " << "fd = " << si.si_fd << ", "
<< "addr_lsb = " << si.si_addr_lsb << ", " << "addr_lsb = " << si.si_addr_lsb << ", "
<< "lower = " << si.si_lower << ", " // << "lower = " << si.si_lower << ", "
<< "upper = " << si.si_upper << ", " // << "upper = " << si.si_upper << ", "
// << "pkey = " << si.si_pkey << ", " // << "pkey = " << si.si_pkey << ", "
<< "call_addr = " << si.si_call_addr << ", " << "call_addr = " << si.si_call_addr << ", "
<< "syscall = " << si.si_syscall << ", " << "syscall = " << si.si_syscall << ", "