From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122518 invoked by alias); 29 Nov 2017 15:41:18 -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 122509 invoked by uid 89); 29 Nov 2017 15:41:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:570 X-HELO: gateway24.websitewelcome.com Received: from gateway24.websitewelcome.com (HELO gateway24.websitewelcome.com) (192.185.51.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 29 Nov 2017 15:41:15 +0000 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway24.websitewelcome.com (Postfix) with ESMTP id AB5B999F5F3 for ; Wed, 29 Nov 2017 09:36:22 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id K4POeCDnwc72gK4POe5i3C; Wed, 29 Nov 2017 09:36:22 -0600 Received: from 71-218-90-63.hlrn.qwest.net ([71.218.90.63]:33576 helo=pokyo) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eK4PO-000HHY-Bp; Wed, 29 Nov 2017 09:36:22 -0600 From: Tom Tromey To: Rainer Orth Cc: gdb-patches@sourceware.org Subject: Re: Fix sol-thread.c compilation on Solaris References: Date: Wed, 29 Nov 2017 15:41:00 -0000 In-Reply-To: (Rainer Orth's message of "Tue, 28 Nov 2017 14:23:50 +0100") Message-ID: <87h8td85ca.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BWhitelist: no X-Source-L: No X-Exim-ID: 1eK4PO-000HHY-Bp X-Source-Sender: 71-218-90-63.hlrn.qwest.net (pokyo) [71.218.90.63]:33576 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2017-11/txt/msg00773.txt.bz2 >>>>> "Rainer" =3D=3D Rainer Orth writes: Rainer> /vol/src/gnu/gdb/gdb/dist/gdb/command.h:140:33: note: initializin= g argument 3 of =E2=80=98cmd_list_element* add_cmd(const char*, command_cla= ss, void (*)(const char*, int), const char*, cmd_list_element**)=E2=80=99 Rainer> extern struct cmd_list_element *add_cmd (const char *, enum comman= d_class, Rainer> ^~~~~~~ Rainer> The following patch allows compilation to succeed on i386-pc-solari= s2.11 Rainer> and sparc-sun-solaris2.11. Thanks for fixing this. Tom