OSDN Git Service

Tighten up GDB's support for returning structs by value.
authorjimb <jimb>
Thu, 29 Nov 2001 22:24:42 +0000 (22:24 +0000)
committerjimb <jimb>
Thu, 29 Nov 2001 22:24:42 +0000 (22:24 +0000)
commit193cb7fa1923ce289844b04393d74e65aed55be7
tree314b41ddd54115688edfc1508ab209c9dee89295
parent573e214e9f1e6e7dd227e6c857d8073e641406d8
Tighten up GDB's support for returning structs by value.
* s390-tdep.c (s390_use_struct_convention): New function.
(s390_gdbarch_init): Register it as the S/390's
USE_STRUCT_CONVENTION method.  Register
generic_cannot_extract_struct_value_address as our
EXTRACT_STRUCT_VALUE_ADDRESS method.
* arch-utils.c (generic_cannot_extract_struct_value_address): New
function.
* arch-utils.h: Add corresponding prototype.
gdb/ChangeLog
gdb/arch-utils.c
gdb/arch-utils.h
gdb/s390-tdep.c