diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-11-19 22:41:10 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-02-06 15:48:19 -0500 |
commit | 3908b699f8d08499ad53adcb34e8a4675cf39142 (patch) | |
tree | ee919825e6f4ea29031846b857c903626cec7b24 /gdb/amd64-tdep.c | |
parent | b0fc0e82d5ca4047ab3054a814b68a841e7001ea (diff) | |
download | fsf-binutils-gdb-3908b699f8d08499ad53adcb34e8a4675cf39142.zip fsf-binutils-gdb-3908b699f8d08499ad53adcb34e8a4675cf39142.tar.gz fsf-binutils-gdb-3908b699f8d08499ad53adcb34e8a4675cf39142.tar.bz2 |
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
Diffstat (limited to 'gdb/amd64-tdep.c')
-rw-r--r-- | gdb/amd64-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 539ebe9..4444187 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -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)) |