mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-03 19:50:34 +01: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:
		@@ -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 << ", "
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user