This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] Add predicate for EXTRACT_STRUCT_VALUE_ADDRESS; Was: New gdb 31 & 64 bit patches for S/390
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Re: [patch] Add predicate for EXTRACT_STRUCT_VALUE_ADDRESS; Was: New gdb 31 & 64 bit patches for S/390
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 28 Jun 2001 19:57:54 -0400
- Cc: DJBARROW at de dot ibm dot com, gdb-patches at sourceware dot cygnus dot com,s390-patches at gnu dot org, schwidefsky at de dot ibm dot com, ARENZ at de dot ibm dot com
- References: <C1256A00.006F3FCE.00@d12mta09.de.ibm.com> <3B2A5F88.7020308@cygnus.com> <3405-Sat16Jun2001095446+0300-eliz@is.elta.co.il>
> Date: Fri, 15 Jun 2001 15:18:32 -0400
>> From: Andrew Cagney <ac131313@cygnus.com>
>>
>> * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
>> (EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
>> predicate.
>
>
> Both EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_STRUCT_VALUE_ADDRESS_P
> are documented in gdbint.texinfo. So the docs should be changed to
> reflect this patch.
How is the attached?
Andrew
2001-06-28 Andrew Cagney <ac131313@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Update
EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_STRUCT_VALUE_ADDRESS_P.
The latter has been changed to a true predicate.
Index: gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.27
diff -p -r1.27 gdbint.texinfo
*** gdbint.texinfo 2001/05/14 20:24:23 1.27
--- gdbint.texinfo 2001/06/28 23:52:55
*************** into @var{valbuf}.
*** 2763,2774 ****
@item EXTRACT_STRUCT_VALUE_ADDRESS(@var{regbuf})
@findex EXTRACT_STRUCT_VALUE_ADDRESS
! When @code{EXTRACT_STRUCT_VALUE_ADDRESS_P} is non-zero, this is used to extract
! from an array @var{regbuf} (containing the raw register state) the
! address in which a function should return its structure value, as a
! @code{CORE_ADDR} (or an expression that can be used as one).
! @item EXTRACT_STRUCT_VALUE_ADDRESS_P
@findex EXTRACT_STRUCT_VALUE_ADDRESS_P
Predicate for @code{EXTRACT_STRUCT_VALUE_ADDRESS}.
--- 2763,2775 ----
@item EXTRACT_STRUCT_VALUE_ADDRESS(@var{regbuf})
@findex EXTRACT_STRUCT_VALUE_ADDRESS
! When defined, extract from the array @var{regbuf} (containing the raw
! register state) the @code{CORE_ADDR} at which a function should return
! its structure value.
! If not defined, @code{EXTRACT_RETURN_VALUE} is used.
!
! @item EXTRACT_STRUCT_VALUE_ADDRESS_P()
@findex EXTRACT_STRUCT_VALUE_ADDRESS_P
Predicate for @code{EXTRACT_STRUCT_VALUE_ADDRESS}.