From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51783 invoked by alias); 21 Oct 2015 08:18:51 -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 51676 invoked by uid 89); 21 Oct 2015 08:18:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f41.google.com Received: from mail-pa0-f41.google.com (HELO mail-pa0-f41.google.com) (209.85.220.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 21 Oct 2015 08:18:49 +0000 Received: by padhk11 with SMTP id hk11so48242244pad.1 for ; Wed, 21 Oct 2015 01:18:47 -0700 (PDT) X-Received: by 10.68.194.133 with SMTP id hw5mr9275113pbc.25.1445415527286; Wed, 21 Oct 2015 01:18:47 -0700 (PDT) Received: from [127.0.0.1] (gcc2-power8.osuosl.org. [140.211.9.43]) by smtp.gmail.com with ESMTPSA id cs5sm7761702pbc.15.2015.10.21.01.18.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Oct 2015 01:18:46 -0700 (PDT) Subject: Re: [PATCH] Fix --host cris-*-linux build of GDBServer. To: Antoine Tremblay , gdb-patches@sourceware.org References: <1445369050-18033-1-git-send-email-antoine.tremblay@ericsson.com> From: Yao Qi Message-ID: <56274A63.2010404@gmail.com> Date: Wed, 21 Oct 2015 10:38:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1445369050-18033-1-git-send-email-antoine.tremblay@ericsson.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00388.txt.bz2 On 20/10/15 20:24, Antoine Tremblay wrote: > Compiling GDBServer with --host cris-*-linux yields a compilation error : > > linux-cris-low.c:65:21: error: ‘void’ must be the only parameter > > This patch fixes the issue by removing the void parameter in cris_get_pc. > > gdb/gdbserver/ChangeLog: > * linux-cris-low.c (cris_get_pc): Remove void arg. The change is obvious, and patch is OK to me. Thanks for splitting it out of your ARM GDBserver breakpoint patches. -- Yao (齐尧)