This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc][28/37] Eliminate builtin_type_ macros: Update infcall.c routines
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: drow at false dot org (Daniel Jacobowitz)
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 2 Sep 2008 23:54:47 +0200 (CEST)
- Subject: Re: [rfc][28/37] Eliminate builtin_type_ macros: Update infcall.c routines
Daniel Jacobowitz wrote:
> On Sun, Aug 31, 2008 at 07:51:13PM +0200, Ulrich Weigand wrote:
> > @@ -472,6 +469,9 @@ call_function_by_hand (struct value *fun
> > funaddr = find_function_addr (function, &values_type);
> > CHECK_TYPEDEF (values_type);
> >
> > + if (!values_type)
> > + values_type = builtin_type (gdbarch)->builtin_int;
> > +
> > /* Are we returning a value using a structure return (passing a
> > hidden argument pointing to storage) or a normal value return?
> > There are two cases: language-mandated structure return and
>
> CHECK_TYPEDEF -> gdb_assert (type).
Oops. Thanks for catching this; I'll fix it.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com