forked from Imagelibrary/binutils-gdb
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
This commit is contained in:
committed by
Simon Marchi
parent
b0fc0e82d5
commit
3908b699f8
@@ -2901,7 +2901,7 @@ amd64_stack_frame_destroyed_p (struct gdbarch *gdbarch, CORE_ADDR pc)
|
||||
struct compunit_symtab *cust;
|
||||
|
||||
cust = find_pc_compunit_symtab (pc);
|
||||
if (cust != NULL && COMPUNIT_EPILOGUE_UNWIND_VALID (cust))
|
||||
if (cust != NULL && cust->epilogue_unwind_valid ())
|
||||
return 0;
|
||||
|
||||
if (target_read_memory (pc, &insn, 1))
|
||||
|
||||
Reference in New Issue
Block a user