[RFA] Update REG_STRUCT_HAS_ADDR doco

Andrew Cagney ac131313@cygnus.com
Sat Apr 29 00:38:00 GMT 2000


Eli Zaretskii wrote:
> 
> > Date: Fri, 28 Apr 2000 16:55:36 +1000
> > From: Andrew Cagney <ac131313@cygnus.com>
> >
> > > > ! 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?
> 
> Sorry, I don't understand the question.  What do you want to
> cross-reference, and what is special about this cross-referencing in
> this case?

I'm asking about style.

In expanding target architecture entries I'm constantly adding
references to other vector members.  How should I be adding the cross
reference links?

For instance:

	REMOTE_BREAKPOINT 
	LITTLE_REMOTE_BREAKPOINT 
	BIG_REMOTE_BREAKPOINT 
	       Similar to BREAKPOINT, but used for remote targets. 

	       BIG_REMOTE_BREAKPOINT and LITTLE_REMOTE_BREAKPOINT have been
deprecated in favour of BREAKPOINT_FROM_PC. 

What magic should be added to xref to BREAKPOINT_FROM_PC.

	Andrew


More information about the Gdb-patches mailing list