re PR debug/83917 (with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore...
authorJakub Jelinek <jakub@redhat.com>
Mon, 26 Feb 2018 19:46:34 +0000 (20:46 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 26 Feb 2018 19:46:34 +0000 (20:46 +0100)
commite586831971cda2da0e25e21a81eeeea60514a89e
treec4946ab031d9b0b044d5fbc4279f972ec92e7cfb
parent106b15eac3345e62475f6087d53711c9e33c25d5
re PR debug/83917 (with -mcall-ms2sysv-xlogues, stepping into x86 tail-call restore stub gives bad backtrace)

PR debug/83917
* config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
inclusion of auto-target.h and auto-host.h.
(USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
__GCC_HAVE_DWARF2_CFI_ASM.
(cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
cfi_pop): Define.
* config/i386/cygwin.S: Don't include auto-host.h here, just
define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
(cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
* config/i386/resms64fx.h: Add cfi_* directives.
* config/i386/resms64x.h: Likewise.

From-SVN: r258010
libgcc/ChangeLog
libgcc/config/i386/cygwin.S
libgcc/config/i386/i386-asm.h
libgcc/config/i386/resms64fx.h
libgcc/config/i386/resms64x.h