diff options
author | Denis Chertykov <chertykov@gmail.com> | 2016-03-05 15:17:15 +0300 |
---|---|---|
committer | Denis Chertykov <chertykov@gmail.com> | 2016-03-05 15:17:15 +0300 |
commit | cb86f3880e61c79e59b9225e79c3544a1fcd8005 (patch) | |
tree | f4919e65da77ec69c2c63be966291ba49002355f /depcomp | |
parent | 57f9b1448fb0de3313d1525707278131bfd8eec4 (diff) | |
download | gdb-cb86f3880e61c79e59b9225e79c3544a1fcd8005.zip gdb-cb86f3880e61c79e59b9225e79c3544a1fcd8005.tar.gz gdb-cb86f3880e61c79e59b9225e79c3544a1fcd8005.tar.bz2 |
Fix argument passing for call
When calling function with argument of size more than 8 bytes fails with
an error "That operation is not available on integers of more than 8 bytes.".
avr-gdb considers only 8 bytes (sizeof(long long)) in case of passing the
argument in registers. When the argument is of size more than 8 byte
then the utility function to extract bytes failed with the above error.
gdb/
* avr-tdep.c (AVR_LAST_ARG_REGNUM): Define.
(avr_push_dummy_call): Correct last needed argument register.
Write MSB of argument into register and subsequent bytes into
other registers in decreasing order.
Diffstat (limited to 'depcomp')
0 files changed, 0 insertions, 0 deletions