This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Function return type checking
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- To: Klee Dienes <kdienes at apple dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 5 Feb 2002 13:23:07 +0200 (IST)
- Subject: Re: [RFA] Function return type checking
On Tue, 5 Feb 2002, Klee Dienes wrote:
> The following patch adds "expected return type" support to the target
> function call interface. The "expected return type" is specified
> using cast syntax; it is ignored if actual type information for the
> function is available. If no type information is provided for a
> function, the user is now required to provide an expected return type
> using the cast syntax, or get an error.
I don't know whether we want this behavior, but if this patch is
accepted, these subtleties surely need to be documented in the user's
manual.