diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2012-09-26 07:52:48 +0000 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2012-09-26 07:52:48 +0000 |
commit | 8f8a23a2c397294ab562c6cf7020679f85b921ec (patch) | |
tree | 778b8da141ef8d1736fcf57813d8350844636760 /gdb/amd64-tdep.c | |
parent | 8ae551cf475ac573cd7d43ad46cfb81c52e58f6e (diff) | |
download | gdb-8f8a23a2c397294ab562c6cf7020679f85b921ec.zip gdb-8f8a23a2c397294ab562c6cf7020679f85b921ec.tar.gz gdb-8f8a23a2c397294ab562c6cf7020679f85b921ec.tar.bz2 |
* amd64-tdep.c (amd64_return_value): Use 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/amd64-tdep.c')
-rw-r--r-- | gdb/amd64-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 8c5b6cc..16c3ee4 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -637,7 +637,7 @@ amd64_return_value (struct gdbarch *gdbarch, struct value *function, } gdb_assert (class[1] != AMD64_MEMORY); - gdb_assert (len <= 16); + gdb_assert (TYPE_LENGTH (type) <= 16); for (i = 0; len > 0; i++, len -= 8) { |