Ticket #3226: gdb-sim-arange-inline.diff
File gdb-sim-arange-inline.diff, 761 bytes (added by Sebastian Huber, on 11/10/17 at 08:50:03) |
---|
-
sim/common/sim-arange.h
old new 62 62 63 63 /* Return non-zero if ADDR is in range AR, traversing the entire tree. 64 64 If no range is specified, that is defined to mean "everything". */ 65 externINLINE int65 static INLINE int 66 66 sim_addr_range_hit_p (ADDR_RANGE * /*ar*/, address_word /*addr*/); 67 67 #define ADDR_RANGE_HIT_P(ar, addr) \ 68 68 ((ar)->range_tree == NULL || sim_addr_range_hit_p ((ar), (addr))) 69 69 70 70 #ifdef HAVE_INLINE 71 #ifdef SIM_ARANGE_C 72 #define SIM_ARANGE_INLINE INLINE 73 #else 74 #define SIM_ARANGE_INLINE EXTERN_INLINE 75 #endif 71 #define SIM_ARANGE_INLINE static INLINE 76 72 #include "sim-arange.c" 77 73 #else 78 74 #define SIM_ARANGE_INLINE