https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83917
Bug ID: 83917 Summary: [8 Regression] with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- Target: x86-64-*-* Here is an example. 0x000000007bc8fd8e 465 if ((status = alloc_object_attributes( attr, &objattr, &len ))) return status; 1: x/2i $rip => 0x7bc8fd8e <NtCreateMutant+78>: jmpq 0x7bcaebbc <__sse_resms64fx_16> 0x7bc8fd93 <NtCreateMutant+83>: nopl 0x0(%rax,%rax,1) Wine-gdb> __sse_resms64fx_16 () at /home/daniel/proj/sys/gcc/git/libgcc/config/i386/resms64fx.h:39 39 mov -0x60(%rsi),%r14 1: x/2i $rip => 0x7bcaebbc <__sse_resms64fx_16>: mov -0x60(%rsi),%r14 0x7bcaebc0 <__sse_resms64fx_15>: mov -0x58(%rsi),%r13 Wine-gdb> bt #0 __sse_resms64fx_16 () at /home/daniel/proj/sys/gcc/git/libgcc/config/i386/resms64fx.h:39 #1 0x006900750062005c in ?? () #2 0x006d005c0064006c in ?? () #3 0x003b00320033006d in ?? () #4 0x0077005c003a0043 in ?? () #5 0x0000003c006e0069 in ?? () #6 0x0000000000034850 in ?? () #7 0x0000000000000000 in ?? () At this point, I'm not emitting any debug information in the stubs.