diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2015-04-27 11:38:47 +0200 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2015-04-27 11:38:47 +0200 |
commit | 417c80f9e456477935cdc74461d35630dfdbfdff (patch) | |
tree | 905644827e03965b0fa1c7358897c8448069a4a8 /gdb/NEWS | |
parent | 4e65a17e62c7c2f3c0409d9769cca2e916a88379 (diff) | |
download | gdb-417c80f9e456477935cdc74461d35630dfdbfdff.zip gdb-417c80f9e456477935cdc74461d35630dfdbfdff.tar.gz gdb-417c80f9e456477935cdc74461d35630dfdbfdff.tar.bz2 |
S390: Vector ABI support
With the S390 vector ABI, vector registers are used for passing vector
arguments and for returning a vector. Support this ABI in inferior
function calls and when setting or retrieving a function's return
value.
gdb/ChangeLog:
* s390-linux-tdep.c: Include "elf/s390.h" and "elf-bfd.h".
(enum s390_vector_abi_kind): New enum.
(struct gdbarch_tdep)<vector_abi>: New field.
(s390_effective_inner_type): Add parameter min_size. Stop
unwrapping if the inner type is smaller than min_size.
(s390_function_arg_float): Adjust call to
s390_effective_inner_type.
(s390_function_arg_vector): New function.
(s390_function_arg_integer): Adjust comment.
(struct s390_arg_state)<vr>: New field.
(s390_handle_arg): Add parameter 'is_unnamed'. Pass vector
arguments according to vector ABI when appropriate.
(s390_push_dummy_call): Initialize the argument state's field
'vr'. Adjust calls to s390_handle_arg.
(s390_register_return_value): Handle vector return values.
(s390_return_value): Apply the "register" return value convention
to a vector when appropriate.
(s390_gdbarch_init): Initialize tdep->vector_abi.
* NEWS: Announce S390 vector ABI support.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,8 @@ * The "dump" command now supports verilog hex format. +* GDB now supports the vector ABI on S/390 GNU/Linux targets. + * Python Scripting ** gdb.Objfile objects have a new attribute "username", |