Move dwarf2_frame_state_reg.exp_len to union .loc
authorYao Qi <yao.qi@linaro.org>
Fri, 11 Aug 2017 08:30:02 +0000 (09:30 +0100)
committerYao Qi <yao.qi@linaro.org>
Fri, 11 Aug 2017 08:30:02 +0000 (09:30 +0100)
commitb348037fd8c0de5c39cc43970697c51048a8ec9c
treee8dc533380fb70ea14033f9d3c4547fecd8d3142
parent5af3691c758717e295ba4d03b800f3462a404056
Move dwarf2_frame_state_reg.exp_len to union .loc

dwarf2_frame_state_reg.exp_len is only used together with .loc.exp, so
it makes more sense to exp_len to the union as well.

gdb:

2017-08-11  Yao Qi  <yao.qi@linaro.org>

* dwarf2-frame.h (struct dwarf2_frame_state_reg) <exp_len>: Remove.
<loc.exp>: New field.
* dwarf2-frame.c (execute_cfa_program): Update.
(dwarf2_frame_prev_register): Update.
gdb/ChangeLog
gdb/dwarf2-frame.c
gdb/dwarf2-frame.h
This page took 0.024594 seconds and 4 git commands to generate.