]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/symtab] Trust epilogue unwind info for unknown or non-gcc producer
authorTom de Vries <tdevries@suse.de>
Mon, 20 Feb 2023 11:20:14 +0000 (12:20 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 20 Feb 2023 11:20:14 +0000 (12:20 +0100)
commit868014341a7befe77468a87ef9d9da109cbf3c3c
treed4cea9a84bcda43eccd3d69701ee6442bb05b0f7
parent8908d9c45cde37c8a7840db80091b1190f209c8f
[gdb/symtab] Trust epilogue unwind info for unknown or non-gcc producer

Currently we only trust epilogue unwind info only for gcc >= 4.5.0.

This has the effect that we don't trust epilogue unwind info for:
- unknown producers (CU without DW_AT_producer attribute)
- non-gcc producers (say, clang).

Instead, only distrust epilogue unwind info only for gcc < 4.5.0.
gdb/dwarf2/read.c