source: rtems-tools/tools/4.11/gdb/gdb-sim-cgen-inline.diff @ a35f890

4.104.115
Last change on this file since a35f890 was a35f890, checked in by Chris Johns <chrisj@…>, on 04/30/14 at 13:13:14

tools/gdb: Simulator inline fixes in the cgen code.

  • Property mode set to 100644
File size: 706 bytes
  • sim/common/cgen-ops.h

    old new  
    2626
    2727#if defined (__GNUC__) && ! defined (SEMOPS_DEFINE_INLINE)
    2828#define SEMOPS_DEFINE_INLINE
    29 #define SEMOPS_INLINE extern inline
     29#define SEMOPS_INLINE static inline
    3030#else
    3131#define SEMOPS_INLINE
    3232#endif
  • sim/common/cgen-mem.h

    old new  
    2323#ifdef MEMOPS_DEFINE_INLINE
    2424#define MEMOPS_INLINE
    2525#else
    26 #define MEMOPS_INLINE extern inline
     26#define MEMOPS_INLINE static inline
    2727#endif
    2828
    2929/* Integer memory read support.
Note: See TracBrowser for help on using the repository browser.