Fix argument to compiled_cond, and add cases for compiled-condition.
[deliverable/binutils-gdb.git] / gdb / xtensa-tdep.h
index 5b28cab417ea02d5ea51b3ff372cafb092a4b9c1..fbf0e1d9d0f7b3c6019cd85ced5b6570d978cb04 100644 (file)
@@ -226,7 +226,9 @@ struct gdbarch_tdep
          .spill_location = -1,                                 \
          .spill_size = (spillsz),                              \
          .unused = 0,                                          \
-         .call_abi = CallAbiDefault,                           \
+         .call_abi = (XSHAL_ABI == XTHAL_ABI_CALL0             \
+                      ? CallAbiCall0Only                       \
+                      : CallAbiDefault),                       \
          .debug_interrupt_level = XCHAL_DEBUGLEVEL,            \
          .icache_line_bytes = XCHAL_ICACHE_LINESIZE,           \
          .dcache_line_bytes = XCHAL_DCACHE_LINESIZE,           \
This page took 0.025305 seconds and 4 git commands to generate.