]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/symtab] Factor out compunit_epilogue_unwind_valid
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)
commitcb911672fb70233f3ef127f68fc0a43d7f339a62
tree2233ec1e60478508cdbb7a900b198f4016c32e1f
parent1bcaeecb7fd8a23f05033bc9a340696b685db17f
[gdb/symtab] Factor out compunit_epilogue_unwind_valid

Factor out compunit_epilogue_unwind_valid from both
amd64_stack_frame_destroyed_p and i386_stack_frame_destroyed_p.  No functional
changes.

Also add a comment in the new function about the assumption that in absence of
producer information, epilogue unwind info is invalid.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/amd64-tdep.c
gdb/i386-tdep.c
gdb/symtab.h