This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15559] Method call and calling convention


https://sourceware.org/bugzilla/show_bug.cgi?id=15559

--- Comment #7 from asmwarrior <asmwarrior at gmail dot com> ---
Created attachment 7225
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7225&action=edit
handling thiscall calling convention for Windows GCC 7.4.0+ on x86

Use thiscall calling convention for x86 mingw gcc 4.7.0 and above in C++ class
method, borrow some code from sh-tdep.c to handling function typedef and
pointers for thiscall calling convention, also there is a hack (global
variable) to tell i386_push_dummy_call() function that whether it is a static
member function call, it is better to pass this variable in function arguments,
but this will make a lot of other changes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]