This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Calling __stdcall functions in the inferior
> 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.