[RFA] Change gdbarch_return_value to take function type instead of return value type

Corinna Vinschen vinschen@redhat.com
Wed Oct 13 09:20:00 GMT 2004


On Oct 12 23:00, Eli Zaretskii wrote:
> > Date: Tue, 12 Oct 2004 14:49:16 +0200
> > From: Corinna Vinschen <vinschen@redhat.com>
> > 
> > @Eli: I've also changed the gdbarch_return_value documentation in
> >       gdbint.texinfo.  I'm not quite sure if the @code brackets are
> >       correct here.  Can you advice?
> 
> The use of @code with gdbarch_return_value is correct (every
> programming language symbol should be in @code).  However, this:
> 
>   +This is usually done by calling @code{struct type *return_type = check_typedef (TYPE_TARGET_TYPE (functype));}
> 
> should use @example, like this:
> 
>   This is usually done by calling
>   @smallexample
>   struct type *return_type = check_typedef (TYPE_TARGET_TYPE (functype));
>   @endsmallexample
> 
> Otherwise, fine; thanks.

Cool, thanks.  I'll use @smallexample in the final patch then.

Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.



More information about the Gdb-patches mailing list