Re: Calling __stdcall functions in the inferior

Eli Zaretskii
2012-10-12T13:26:54Z

> Date: Fri, 12 Oct 2012 12:27:53 +0100
> From: Pedro Alves <palves@redhat.com>
> CC: Mark Kettenis <mark.kettenis@xs4all.nl>, 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.