From 2c3d1822f74e1bc556e5a8cedfbd389f7b74b660 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Fri, 24 May 2019 14:16:26 -0400 Subject: [PATCH] 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 --- src/bees.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bees.cc b/src/bees.cc index 183d6ba..3d814cb 100644 --- a/src/bees.cc +++ b/src/bees.cc @@ -686,8 +686,8 @@ operator<<(ostream &os, const siginfo_t &si) << "band = " << si.si_band << ", " << "fd = " << si.si_fd << ", " << "addr_lsb = " << si.si_addr_lsb << ", " - << "lower = " << si.si_lower << ", " - << "upper = " << si.si_upper << ", " + // << "lower = " << si.si_lower << ", " + // << "upper = " << si.si_upper << ", " // << "pkey = " << si.si_pkey << ", " << "call_addr = " << si.si_call_addr << ", " << "syscall = " << si.si_syscall << ", "