From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45602 invoked by alias); 7 Jul 2018 08:54:21 -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 45577 invoked by uid 89); 7 Jul 2018 08:54:20 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=inferiorh, inferior.h, UD:inferior.h, Hx-languages-length:1060 X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 07 Jul 2018 08:54:18 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 41N54R3w3Fz1qvnH; Sat, 7 Jul 2018 10:54:15 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 41N54R0nsDz1rZMM; Sat, 7 Jul 2018 10:54:15 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id RSZI_7yfEgYB; Sat, 7 Jul 2018 10:54:14 +0200 (CEST) Received: from linux.local (ppp-188-174-157-16.dynamic.mnet-online.de [188.174.157.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 7 Jul 2018 10:54:14 +0200 (CEST) Received: by linux.local (Postfix, from userid 501) id 5575D1E5885; Sat, 7 Jul 2018 10:54:09 +0200 (CEST) From: Andreas Schwab To: Simon Marchi Cc: Subject: Re: [PATCH] Make target_read_alloc & al return vectors References: <1521691401-21512-1-git-send-email-simon.marchi@ericsson.com> X-Yow: I'd like MY data-base JULIENNED and stir-fried! Date: Sat, 07 Jul 2018 08:54:00 -0000 In-Reply-To: <1521691401-21512-1-git-send-email-simon.marchi@ericsson.com> (Simon Marchi's message of "Thu, 22 Mar 2018 00:03:21 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2018-07/txt/msg00165.txt.bz2 ../../gdb/ia64-tdep.c: In function ‘LONGEST getunwind_table(gdb_byte**)’: ../../gdb/ia64-tdep.c:2664:16: error: too many arguments to function ‘gdb::optional > > > target_read_alloc(target_ops*, target_object, const char*)’ NULL, buf_p); ^ In file included from ../../gdb/inferior.h:41:0, from ../../gdb/ia64-tdep.c:21: ../../gdb/target.h:341:40: note: declared here extern gdb::optional target_read_alloc ^ ../../gdb/ia64-tdep.c:2663:5: error: cannot convert ‘gdb::optional > > >’ to ‘LONGEST {aka long int}’ in assignment x = target_read_alloc (current_top_target (), TARGET_OBJECT_UNWIND_TABLE, ^ Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."