This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] Add predicate for EXTRACT_STRUCT_VALUE_ADDRESS; Was: New gdb 31 & 64 bit patches for S/390


> 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}.
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]