From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Qe7UCVtLVGL5MQAAWB0awg (envelope-from ) for ; Mon, 11 Apr 2022 11:38:03 -0400 Received: by simark.ca (Postfix, from userid 112) id 12A8E1F202; Mon, 11 Apr 2022 11:38:03 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_DYNAMIC autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 8A24F1E150 for ; Mon, 11 Apr 2022 11:38:02 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 317D938485A1 for ; Mon, 11 Apr 2022 15:38:02 +0000 (GMT) Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by sourceware.org (Postfix) with ESMTP id D20D8385CFF4 for ; Mon, 11 Apr 2022 15:37:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D20D8385CFF4 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=orcam.me.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=orcam.me.uk Received: by angie.orcam.me.uk (Postfix, from userid 500) id 3675A92009C; Mon, 11 Apr 2022 17:37:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 2F7DF92009B; Mon, 11 Apr 2022 16:37:16 +0100 (BST) Date: Mon, 11 Apr 2022 16:37:16 +0100 (BST) From: "Maciej W. Rozycki" To: Richard Sandiford Subject: Re: [COMMITTED PATCH v2] gdb: mips: Fix the handling of complex type of function return value In-Reply-To: Message-ID: References: <1647406106-25723-1-git-send-email-tangyouling@loongson.cn> <20220316084248.m5m2et3njtngeoge@Plymouth> <877d8uuop8.fsf@redhat.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Burgess , Lancelot SIX , Youling Tang , gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On Fri, 8 Apr 2022, Richard Sandiford wrote: > > Richard, would you by any chance know/remember what IRIX/MIPSpro did > > here? > > No, sorry. I remember there were some cases where we had to choose > between compatibility with MIPSpro and backwards compatibility with > GCC (which did something different and thus presumably “wrong”). > Since GCC de facto the ABI for GNU systems, it wasn't always an > easy choice. But that might not overlap with this case. OK, thanks for your consideration. I'll try to find some time to get back to these issues once Stage 1 has opened and then people can discuss actual code changes proposed and see what to do here. Maciej