source: rtems-tools/tools/4.12/gdb/gdb-sim-arange-inline.diff @ ab922fe

4.105
Last change on this file since ab922fe was ab922fe, checked in by Chris Johns <chrisj@…>, on 11/12/15 at 06:48:45

Add tools patches for RTEMS 4.12.

  • Property mode set to 100644
File size: 761 bytes
  • sim/common/sim-arange.h

    old new  
    6262
    6363/* Return non-zero if ADDR is in range AR, traversing the entire tree.
    6464   If no range is specified, that is defined to mean "everything".  */
    65 extern INLINE int
     65static INLINE int
    6666sim_addr_range_hit_p (ADDR_RANGE * /*ar*/, address_word /*addr*/);
    6767#define ADDR_RANGE_HIT_P(ar, addr) \
    6868  ((ar)->range_tree == NULL || sim_addr_range_hit_p ((ar), (addr)))
    6969
    7070#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
    7672#include "sim-arange.c"
    7773#else
    7874#define SIM_ARANGE_INLINE
Note: See TracBrowser for help on using the repository browser.