From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29285 invoked by alias); 25 Jan 2010 05:42:45 -0000 Received: (qmail 29270 invoked by uid 22791); 25 Jan 2010 05:42:41 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 25 Jan 2010 05:42:35 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id DD60F2BAB78 for ; Mon, 25 Jan 2010 00:42:31 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5BLiT35hudQU for ; Mon, 25 Jan 2010 00:42:31 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 6A12A2BAB74 for ; Mon, 25 Jan 2010 00:42:31 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id C67ACF598A; Mon, 25 Jan 2010 09:42:16 +0400 (RET) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [amd64-windows] Fix function calls on amd64-windows Date: Mon, 25 Jan 2010 05:42:00 -0000 Message-Id: <1264398132-1429-1-git-send-email-brobecker@adacore.com> 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 X-SW-Source: 2010-01/txt/msg00560.txt.bz2 Hello, The following patch series enhances the amd64 function-call and return-value code to handle the Microsoft ABI for amd64-windows. As it turned out, the principles where relatively similar to the ABI used on Linux systems, but the details where quite significantly different (list of integer registers, parameters passed by memory, etc). These patches were tested on x86_64-linux using the official testsuite, as well as on x86_64-windows, but using AdaCore's testsuite. I'd like to commit in a few days if there are no objection.