diff options
author | Hannes Domani <ssbssa@yahoo.de> | 2020-04-27 15:58:09 +0200 |
---|---|---|
committer | Hannes Domani <ssbssa@yahoo.de> | 2020-04-30 14:36:55 +0200 |
commit | 627c7fb8ea16388f349b6b26e20bf017d71e51fe (patch) | |
tree | 6c3768b72f7861c80244e1cc16c1bebf88c76e7c /ld/testsuite/ld-elf/pr21562i.d | |
parent | c578f16ef18fde35d5887909d5faaf0bd0118e9d (diff) | |
download | gdb-627c7fb8ea16388f349b6b26e20bf017d71e51fe.zip gdb-627c7fb8ea16388f349b6b26e20bf017d71e51fe.tar.gz gdb-627c7fb8ea16388f349b6b26e20bf017d71e51fe.tar.bz2 |
Use thiscall calling convention for class members
Non-static member functions for Windows 32bit programs need the thiscall
calling convention, so the 'this' pointer needs to be passed in ECX.
gdb/ChangeLog:
2020-04-30 Hannes Domani <ssbssa@yahoo.de>
PR gdb/15559
* i386-tdep.c (i386_push_dummy_call): Call
i386_thiscall_push_dummy_call.
(i386_thiscall_push_dummy_call): New function.
* i386-tdep.h (i386_thiscall_push_dummy_call): Declare.
* i386-windows-tdep.c (i386_windows_push_dummy_call): New function.
(i386_windows_init_abi): Call set_gdbarch_push_dummy_call.
Diffstat (limited to 'ld/testsuite/ld-elf/pr21562i.d')
0 files changed, 0 insertions, 0 deletions