diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-04-01 04:52:37 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-04-01 04:52:37 +0000 |
commit | 19735aeaa1575ba240f240391c7c5ba96c576f0c (patch) | |
tree | 8bd1b9cb7a0d6ed34ec3e6551d606abc5ae0215d /gdb/config | |
parent | e1fe7a7966c38bc0ed17b7ed3cea5863f0686da2 (diff) | |
download | gdb-19735aeaa1575ba240f240391c7c5ba96c576f0c.zip gdb-19735aeaa1575ba240f240391c7c5ba96c576f0c.tar.gz gdb-19735aeaa1575ba240f240391c7c5ba96c576f0c.tar.bz2 |
* d10v-tdep.c (d10v_extract_return_value): Wierd. GCC wants to return
odd sized register quantities with only half of the first register used!
* config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Use stack when size > 8.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/d10v/tm-d10v.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/config/d10v/tm-d10v.h b/gdb/config/d10v/tm-d10v.h index 93c634c..0a4c3b4 100644 --- a/gdb/config/d10v/tm-d10v.h +++ b/gdb/config/d10v/tm-d10v.h @@ -187,7 +187,7 @@ extern CORE_ADDR d10v_skip_prologue (); registers. */ #define USE_STRUCT_CONVENTION(gcc_p, type) \ - (TYPE_LENGTH (type) > 1) + (TYPE_LENGTH (type) > 8) |