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]
Other format: [Raw text]

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


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.


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