aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/d10v
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/d10v')
-rw-r--r--gdb/config/d10v/tm-d10v.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config/d10v/tm-d10v.h b/gdb/config/d10v/tm-d10v.h
index 967ffcf..2062a68 100644
--- a/gdb/config/d10v/tm-d10v.h
+++ b/gdb/config/d10v/tm-d10v.h
@@ -186,8 +186,8 @@ extern CORE_ADDR d10v_skip_prologue ();
The d10v returns anything less than 8 bytes in size in
registers. */
-#define USE_STRUCT_CONVENTION(gcc_p, type) \
- (TYPE_LENGTH (type) > 8)
+extern use_struct_convention_fn d10v_use_struct_convention;
+#define USE_STRUCT_CONVENTION(gcc_p, type) d10v_use_struct_convention (gcc_p, type)