This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Fwd: Method call and calling convention
- From: Tom Tromey <tromey at redhat dot com>
- To: Kifa The Great <kifathegreat at gmail dot com>
- Cc: gdb at sourceware dot org, gcc-help at gcc dot gnu dot org
- Date: Tue, 21 May 2013 10:42:38 -0600
- Subject: Re: Fwd: Method call and calling convention
- References: <CAB35Rs7t2fYrPunFA+Q_5tW1DxjxdgMLNxHoYNAOatxxwsc4dA at mail dot gmail dot com> <CAB35Rs75GPCcoteGWisQSVau+DbC1ZBy5CFJ4jxjvyk7V82=Hw at mail dot gmail dot com>
>>>>> "Kifa" == Kifa The Great <kifathegreat@gmail.com> writes:
Kifa> Windows x86 targets are using the __thiscall calling
Kifa> convention for C++ class-member functions by default from GCC 4.7.
Kifa> Could you please tell me if this is a bug, feature or maybe I do
Kifa> something wrong?
It looks like a bug to me.
I have two suggestions --
Kifa> GNU gdb (GDB) 7.5.1-ubuntu
First, try a newer gdb. Maybe the problem was already fixed.
Second, if that fails, please file a bug report in Bugzilla.
Tom