This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Change gdbarch_return_value to take function type instead of return value type
- From: "Eli Zaretskii" <eliz at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 12 Oct 2004 23:00:21 +0200
- Subject: Re: [RFA] Change gdbarch_return_value to take function type instead of return value type
- References: <20041012124916.GZ6702@cygbert.vinschen.de>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.