diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2025-04-04 23:41:18 +0200 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-04-04 23:42:22 +0200 |
| commit | 7bd35857b8eb572926796f4aeb1e8752c5341a84 (patch) | |
| tree | 9fd36934bdbb748d973128d4801b5216716a7eab /toolchain/gdb/patches | |
| parent | 5664ef9d6f0be0541fd6da201f4f9e1efb64c603 (diff) | |
gdb for h8s, switch to github
Diffstat (limited to 'toolchain/gdb/patches')
| -rw-r--r-- | toolchain/gdb/patches/ysato-h8300/no_extern_inline.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/toolchain/gdb/patches/ysato-h8300/no_extern_inline.patch b/toolchain/gdb/patches/ysato-h8300/no_extern_inline.patch new file mode 100644 index 000000000..bbae1d774 --- /dev/null +++ b/toolchain/gdb/patches/ysato-h8300/no_extern_inline.patch @@ -0,0 +1,32 @@ +--- a/sim/common/sim-arange.c ++++ b/sim/common/sim-arange.c +@@ -280,11 +280,7 @@ sim_addr_range_delete (ADDR_RANGE *ar, a + build_search_tree (ar); + } + +-#endif /* DEFINE_NON_INLINE_P */ +- +-#if DEFINE_INLINE_P +- +-SIM_ARANGE_INLINE int ++int + sim_addr_range_hit_p (ADDR_RANGE *ar, address_word addr) + { + ADDR_RANGE_TREE *t = ar->range_tree; +@@ -301,4 +297,4 @@ sim_addr_range_hit_p (ADDR_RANGE *ar, ad + return 0; + } + +-#endif /* DEFINE_INLINE_P */ ++#endif /* DEFINE_NON_INLINE_P */ +--- a/sim/common/sim-arange.h ++++ b/sim/common/sim-arange.h +@@ -62,7 +62,7 @@ extern void sim_addr_range_delete (ADDR_ + + /* Return non-zero if ADDR is in range AR, traversing the entire tree. + If no range is specified, that is defined to mean "everything". */ +-extern INLINE int ++extern int + sim_addr_range_hit_p (ADDR_RANGE * /*ar*/, address_word /*addr*/); + #define ADDR_RANGE_HIT_P(ar, addr) \ + ((ar)->range_tree == NULL || sim_addr_range_hit_p ((ar), (addr))) |
