From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17676 invoked by alias); 2 Sep 2008 21:56:23 -0000 Received: (qmail 17666 invoked by uid 22791); 2 Sep 2008 21:56:22 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate5.de.ibm.com (HELO mtagate5.de.ibm.com) (195.212.29.154) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 02 Sep 2008 21:55:37 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate5.de.ibm.com (8.13.8/8.13.8) with ESMTP id m82Lsm2r640872 for ; Tue, 2 Sep 2008 21:54:48 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m82LsmNQ3240006 for ; Tue, 2 Sep 2008 23:54:48 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m82LsmoS016300 for ; Tue, 2 Sep 2008 23:54:48 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id m82Lsljp016297; Tue, 2 Sep 2008 23:54:47 +0200 Message-Id: <200809022154.m82Lsljp016297@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Tue, 2 Sep 2008 23:54:47 +0200 Subject: Re: [rfc][28/37] Eliminate builtin_type_ macros: Update infcall.c routines To: drow@false.org (Daniel Jacobowitz) Date: Tue, 02 Sep 2008 21:56:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <20080902124712.GD21700@caradoc.them.org> from "Daniel Jacobowitz" at Sep 02, 2008 08:47:12 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00031.txt.bz2 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