From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16162 invoked by alias); 29 Oct 2014 16:03:16 -0000 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 Received: (qmail 16149 invoked by uid 89); 29 Oct 2014 16:03:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e06smtp11.uk.ibm.com Received: from e06smtp11.uk.ibm.com (HELO e06smtp11.uk.ibm.com) (195.75.94.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 29 Oct 2014 16:03:09 +0000 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 29 Oct 2014 16:03:06 -0000 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 29 Oct 2014 16:03:04 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 7951617D8045 for ; Wed, 29 Oct 2014 16:03:07 +0000 (GMT) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s9TG34N014090724 for ; Wed, 29 Oct 2014 16:03:04 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s9TG34Ml004832 for ; Wed, 29 Oct 2014 10:03:04 -0600 Received: from br87z6lw.boeblingen.de.ibm.com (dyn-9-152-212-196.boeblingen.de.ibm.com [9.152.212.196]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s9TG0lWT032270 for ; Wed, 29 Oct 2014 10:03:03 -0600 From: Andreas Arnez To: gdb-patches@sourceware.org Subject: [PATCH 10/16] 'callfuncs' test case: Fix typo in prototyped version Date: Wed, 29 Oct 2014 16:03:00 -0000 Message-Id: <1414598446-13831-10-git-send-email-arnez@linux.vnet.ibm.com> In-Reply-To: <1414597859-12523-1-git-send-email-arnez@linux.vnet.ibm.com> References: <1414597859-12523-1-git-send-email-arnez@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14102916-0005-0000-0000-000001DB4449 X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00812.txt.bz2 Fix a small typo in callfuncs.c which leads to a compile error when the PROTOTYPES macro is defined. gdb/testsuite/ChangeLog: * gdb.base/callfuncs.c (t_structs_ldc): Renamed from t_structs_fc in conditional code guarded by #ifdef PROTOTYPES. --- gdb/testsuite/gdb.base/callfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.base/callfuncs.c b/gdb/testsuite/gdb.base/callfuncs.c index 24fd33c..8548757 100644 --- a/gdb/testsuite/gdb.base/callfuncs.c +++ b/gdb/testsuite/gdb.base/callfuncs.c @@ -216,7 +216,7 @@ char *t_structs_a (struct struct1 tstruct) #ifdef TEST_COMPLEX float _Complex t_structs_fc (struct struct1 tstruct) { return tstruct.fc;} double _Complex t_structs_dc (struct struct1 tstruct) { return tstruct.dc;} -long double _Complex t_structs_fc (struct struct1 tstruct) { return tstruct.ldc;} +long double _Complex t_structs_ldc (struct struct1 tstruct) { return tstruct.ldc;} #endif #else char t_structs_c (tstruct) struct struct1 tstruct; { return (tstruct.c); } -- 1.8.4.2