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

Eli Zaretskii eliz@gnu.org
Tue Oct 12 21:09:00 GMT 2004

> 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
  struct type *return_type = check_typedef (TYPE_TARGET_TYPE (functype));

Otherwise, fine; thanks.

More information about the Gdb-patches mailing list