This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [RFA] Update REG_STRUCT_HAS_ADDR doco
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Re: [RFA] Update REG_STRUCT_HAS_ADDR doco
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 28 Apr 2000 16:55:36 +1000
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <390150A3.4C5860F4@cygnus.com> <200004221828.OAA18876@indy.delorie.com>
Eli Zaretskii wrote:
>
> > Date: Sat, 22 Apr 2000 17:11:31 +1000
> > From: Andrew Cagney <ac131313@cygnus.com>
> >
> > ! Optional function returning non-zero when the given @var{type} is be
>
> You probably want to say "...the given @var{type} is to be passed..."
> ("to" is missing).
Yes.
> > ! passed by pointer rather than directly. REG_STRUCT_HAS_ADDR_P is
> > ! non-zero when the function is defined.
> > !
> > ! @deftypefn {Target Macro} int REG_STRUCT_HAS_ADDR_P (void)
> > ! Predicate to calling REG_STRUCT_HAS_ADDR. Returns non-zero when
> > ! REG_STRUCT_HAS_ADDR has been defined.
>
> You want the names REG_STRUCT_HAS_ADDR and REG_STRUCT_HAS_ADDR_P to
> have the @code markup (when they are outside the @def* directives).
Thanks. Is there a way I can cross reference these?
Andrew
Sat Apr 22 16:49:51 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdbint.texinfo (REG_STRUCT_HAS_ADDR, REG_STRUCT_HAS_ADDR_P):
Re-write definitions.
Index: doc/gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.10
diff -p -r1.10 gdbint.texinfo
*** gdbint.texinfo 2000/04/17 10:46:50 1.10
--- gdbint.texinfo 2000/04/28 06:53:42
*************** or @var{NUL} to indicate that register @
*** 1986,1994 ****
@item REGISTER_NAMES
Deprecated in favor of @var{REGISTER_NAME}.
! @item REG_STRUCT_HAS_ADDR (gcc_p, type)
! Define this to return 1 if the given type will be passed by pointer
! rather than directly.
@item SAVE_DUMMY_FRAME_TOS (sp)
Used in @samp{call_function_by_hand} to notify the target dependent code
--- 1986,1999 ----
@item REGISTER_NAMES
Deprecated in favor of @var{REGISTER_NAME}.
! @deftypefn {Target Macro} int REG_STRUCT_HAS_ADDR (int @var{gcc_p}, struct type *@var{type})
! Optional function returning non-zero when the given @var{type} is to be
! passed by pointer rather than directly. @code{REG_STRUCT_HAS_ADDR_P} is
! non-zero when the function is defined.
!
! @deftypefn {Target Macro} int REG_STRUCT_HAS_ADDR_P (int @var{gcc_p}, struct type *@var{type})
! Predicate to calling @code{REG_STRUCT_HAS_ADDR}. Returns non-zero when
! @code{REG_STRUCT_HAS_ADDR} has been defined.
@item SAVE_DUMMY_FRAME_TOS (sp)
Used in @samp{call_function_by_hand} to notify the target dependent code