From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2579 invoked by alias); 12 Oct 2012 13:26:54 -0000 Received: (qmail 2561 invoked by uid 22791); 12 Oct 2012 13:26:53 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RCVD_IN_NIX_SPAM,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 12 Oct 2012 13:26:49 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MBS00D007E57000@a-mtaout21.012.net.il> for gdb@sourceware.org; Fri, 12 Oct 2012 15:25:56 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MBS00CI37Z7YKC0@a-mtaout21.012.net.il>; Fri, 12 Oct 2012 15:25:56 +0200 (IST) Date: Fri, 12 Oct 2012 13:26:00 -0000 From: Eli Zaretskii Subject: Re: Calling __stdcall functions in the inferior In-reply-to: <5077FEB9.4030304@redhat.com> To: Pedro Alves Cc: mark.kettenis@xs4all.nl, gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <83y5jb7rfe.fsf@gnu.org> References: <83a9vs89r9.fsf@gnu.org> <201210120953.q9C9rqfu020865@glazunov.sibelius.xs4all.nl> <834nm07z0s.fsf@gnu.org> <5077FEB9.4030304@redhat.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-10/txt/msg00070.txt.bz2 > Date: Fri, 12 Oct 2012 12:27:53 +0100 > From: Pedro Alves > CC: Mark Kettenis , gdb@sourceware.org > > In gcc/config/i386/winnt.c: > > /* Return string which is the function name, identified by ID, modified > with a suffix consisting of an atsign (@) followed by the number of > bytes of arguments. If ID is NULL use the DECL_NAME as base. If > FASTCALL is true, also add the FASTCALL_PREFIX. > Return NULL if no change required. */ > > static tree > gen_stdcall_or_fastcall_suffix (tree decl, tree id, bool fastcall) > { > > As you see above, fastcall also has identifiable decoration. Thanks.