diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-01-13 16:23:00 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-01-13 16:23:00 +0000 |
commit | 825d6d8a6983bce3664db1058afb19335db795cc (patch) | |
tree | ceeb6cf15a9dd5a730c48f947b72a571a79c70f7 /ld/ldemul.h | |
parent | 7458e66756c1515ff07193a097c2cdc71837012c (diff) | |
download | gdb-825d6d8a6983bce3664db1058afb19335db795cc.zip gdb-825d6d8a6983bce3664db1058afb19335db795cc.tar.gz gdb-825d6d8a6983bce3664db1058afb19335db795cc.tar.bz2 |
[ia64] small integral parameters and return values
This patch fixes a small problem on ia64-hpux when calling functions
whose parameter are small integral values (less than 8 bytes). In
that case, the parameter value was stored on the wrong side of the
register. Same problem for return values.
With this patch, the results for gdb.base/callfuncs.exp improve from
# of expected passes 41
# of unexpected failures 78
To:
# of expected passes 95
# of unexpected failures 24
gdb/ChangeLog:
* ia64-tdep.c (ia64_struct_type_p): New function.
(ia64_extract_return_value): Handle integral values that are
less than 8 bytes long.
(ia64_push_dummy_call): Likewise.
Diffstat (limited to 'ld/ldemul.h')
0 files changed, 0 insertions, 0 deletions