diff options
author | Chris Johns <chrisj@rtems.org> | 2014-04-30 23:13:14 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-04-30 23:13:14 +1000 |
commit | a35f8909b9629d2f48333f62839b4940e33e0ba1 (patch) | |
tree | a90d3a8282554c0123387e77b2ac6a081c8b1365 | |
parent | 9e78f60ebff831a2b75d75cb928fca842fc48afe (diff) |
tools/gdb: Simulator inline fixes in the cgen code.
-rw-r--r-- | tools/4.11/gdb/gdb-sim-cgen-inline.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/4.11/gdb/gdb-sim-cgen-inline.diff b/tools/4.11/gdb/gdb-sim-cgen-inline.diff new file mode 100644 index 0000000..85e1e5e --- /dev/null +++ b/tools/4.11/gdb/gdb-sim-cgen-inline.diff @@ -0,0 +1,22 @@ +--- gdb-7.7.orig/sim/common/cgen-ops.h 2014-04-30 09:13:57.000000000 +0000 ++++ gdb-7.7/sim/common/cgen-ops.h 2014-04-30 09:13:48.000000000 +0000 +@@ -26,7 +26,7 @@ + + #if defined (__GNUC__) && ! defined (SEMOPS_DEFINE_INLINE) + #define SEMOPS_DEFINE_INLINE +-#define SEMOPS_INLINE extern inline ++#define SEMOPS_INLINE static inline + #else + #define SEMOPS_INLINE + #endif +--- gdb-7.7.orig/sim/common/cgen-mem.h 2014-04-30 10:37:07.000000000 +0000 ++++ gdb-7.7/sim/common/cgen-mem.h 2014-04-30 10:37:36.000000000 +0000 +@@ -23,7 +23,7 @@ + #ifdef MEMOPS_DEFINE_INLINE + #define MEMOPS_INLINE + #else +-#define MEMOPS_INLINE extern inline ++#define MEMOPS_INLINE static inline + #endif + + /* Integer memory read support. |