diff options
author | Tom Tromey <tom@tromey.com> | 2022-11-20 15:08:06 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-11-28 12:19:42 -0700 |
commit | aa563d160d5e31861850e7e685df8c494fc9e307 (patch) | |
tree | 00d1affddfd109bc3f66013538aabd2c1d3959ae /gdb/guile | |
parent | 79d403654266c747703359e4b4e7f3931fb53f99 (diff) | |
download | gdb-aa563d160d5e31861850e7e685df8c494fc9e307.zip gdb-aa563d160d5e31861850e7e685df8c494fc9e307.tar.gz gdb-aa563d160d5e31861850e7e685df8c494fc9e307.tar.bz2 |
Remove reset_ecs and execution_control_state::reset
I noticed that execution_control_state has a 'reset' method, and
there's also a 'reset_ecs' function that calls it. This patch cleans
this area up a little by adding a parameter to the constructor and (a
change Simon suggested) removing the reset method. Some extraneous
variables are also removed, like:
- struct execution_control_state ecss;
- struct execution_control_state *ecs = &ecss;
Here 'ecs' is never changed, so this patch removes it entirely in
favor of just using the object everywhere.
Regression tested on x86-64 Fedora 34.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/guile')
0 files changed, 0 insertions, 0 deletions