mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-17 13:47:37 +01:00
ec1a021243
so that it will get saved and restored with the register state. Initialize the rs_state version of ret_addr_column at the some time the dwarf_cursor version is initialized, and don't bother copying ret_addr_column explicitly from cursor to cache since it's copied implicitly as part of reg_state. Use the reg_state version in apply_reg_state, instead of the cursor version. Which brings up the question: why do we have ret_addr_column in the dwarf_cursor? We call find_reg_state before calling apply_reg_state, so the value of ret_addr_column in the cursor when dwarf_step gets called gets overwritten before it is used. So it's initial value doesn't matter. But some architectures do funky things with cursor->ret_addr_column, even though I don't see how they matter. So I'm not deleting dwarf_cursor->ret_addr_column, even though I suspect this patch makes it useless. |
||
---|---|---|
.. | ||
Gexpr.c | ||
Gfde.c | ||
Gfind_proc_info-lsb.c | ||
Gfind_unwind_table.c | ||
global.c | ||
Gparser.c | ||
Gpe.c | ||
Lexpr.c | ||
Lfde.c | ||
Lfind_proc_info-lsb.c | ||
Lfind_unwind_table.c | ||
Lparser.c | ||
Lpe.c |