[PATCH] Fix GDB PR15559 (inferior calls using "thiscall" calling convention)
Julian Brown
julian@codesourcery.com
Wed Mar 26 14:56:00 GMT 2014
Hi,
This is the GCC part of my fix for PR15559, the GDB part of which was
posted here:
https://sourceware.org/ml/gdb-patches/2014-03/msg00610.html
Cross-tested (gcc/g++/libstdc++) from Linux to Mingw32: results are the
same, apart from (what I presume to be) noise in guality.exp/pr55665.C.
According to PR15559, this is technically a regression from pre-4.7.0,
so OK either for now, or for stage 1? For other branches?
Thanks,
Julian
ChangeLog
include/
* dwarf2.h (enum dwarf_calling_convention): Add
DW_CC_GNU_thiscall_i386.
gcc/
* config/i386/i386.c (ix86_dwarf_calling_convention): New.
(TARGET_DWARF_CALLING_CONVENTION): Define, using above.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-thiscall-fsf-1.diff
Type: text/x-patch
Size: 1735 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140326/6f56ff54/attachment.bin>
More information about the Gcc-patches
mailing list