diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2012-09-27 10:40:01 +0000 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2012-09-27 10:40:01 +0000 |
commit | bad43aa52e2d7018830ae79c522f74b4dc3260e4 (patch) | |
tree | e3b8a6d81c3fa243cf0173de35bca957e7643612 /gdb/bfin-tdep.c | |
parent | 63375b7438a788834187519e033e01cfdbd8d373 (diff) | |
download | gdb-bad43aa52e2d7018830ae79c522f74b4dc3260e4.zip gdb-bad43aa52e2d7018830ae79c522f74b4dc3260e4.tar.gz gdb-bad43aa52e2d7018830ae79c522f74b4dc3260e4.tar.bz2 |
* amd64-tdep.c (amd64_return_value): Revert previous change
that used TYPE_LENGTH directly.
* bfin-tdep.c (bfin_extract_return_value): Likewise.
(bfin_store_return_value): Likewise.
* cris-tdep.c (cris_store_return_value): Likewise.
(cris_extract_return_value): Likewise.
* h8300-tdep.c (h8300_extract_return_value): Likewise.
* hppa-tdep.c (hppa64_return_value): Likewise.
* lm32-tdep.c (lm32_store_return_value): Likewise.
* microblaze-tdep.c (microblaze_store_return_value): Likewise.
* spu-tdep.c (spu_value_from_register): Likewise.
* vax-tdep.c (vax_return_value): Likewise.
Diffstat (limited to 'gdb/bfin-tdep.c')
-rw-r--r-- | gdb/bfin-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c index 6d4859a..4eb5763 100644 --- a/gdb/bfin-tdep.c +++ b/gdb/bfin-tdep.c @@ -615,7 +615,7 @@ bfin_extract_return_value (struct type *type, ULONGEST tmp; int regno = BFIN_R0_REGNUM; - gdb_assert (TYPE_LENGTH (type) <= 8); + gdb_assert (len <= 8); while (len > 0) { @@ -643,7 +643,7 @@ bfin_store_return_value (struct type *type, int len = TYPE_LENGTH (type); int regno = BFIN_R0_REGNUM; - gdb_assert (TYPE_LENGTH (type) <= 8); + gdb_assert (len <= 8); while (len > 0) { |