From 3908b699f8d08499ad53adcb34e8a4675cf39142 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 19 Nov 2021 22:41:10 -0500 Subject: gdb: remove COMPUNIT_EPILOGUE_UNWIND_VALID macro, add getter/setter Add a getter and a setter for a compunit_symtab's epilogue unwind valid flag. Remove the corresponding macro and adjust all callers. Change-Id: If3b68629d987767da9be7041a95d96dc34367a9a --- gdb/dwarf2/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/dwarf2') diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index a14ac22..fb138de 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -9496,7 +9496,7 @@ process_full_comp_unit (dwarf2_cu *cu, enum language pretend_language) cust->set_locations_valid (true); if (gcc_4_minor >= 5) - cust->epilogue_unwind_valid = 1; + cust->set_epilogue_unwind_valid (true); cust->set_call_site_htab (cu->call_site_htab); } -- cgit v1.1