diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-11-19 11:05:13 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-11-19 11:57:38 -0500 |
commit | 39a36629f68e9796d950d9204012fe8272e2d0ef (patch) | |
tree | 1776d62d17f8a9e53e8dc185fe6d9609ac246c2b /gdb/rust-lang.c | |
parent | 32641fa9259dbe2e576add1992434f404d1d6881 (diff) | |
download | binutils-39a36629f68e9796d950d9204012fe8272e2d0ef.zip binutils-39a36629f68e9796d950d9204012fe8272e2d0ef.tar.gz binutils-39a36629f68e9796d950d9204012fe8272e2d0ef.tar.bz2 |
Use std::forward_list for displaced_step_inferior_states
Use std::forward_list instead of manually implemented list. This
simplifies a bit the code, especially around removal.
Regtested on the buildbot. There are some failures as always, but I
think they are unrelated.
gdb/ChangeLog:
* infrun.c (displaced_step_inferior_states): Change type to
std::forward_list.
(get_displaced_stepping_state): Adjust.
(displaced_step_in_progress_any_inferior): Adjust.
(add_displaced_stepping_state): Adjust.
(remove_displaced_stepping_state): Adjust.
Diffstat (limited to 'gdb/rust-lang.c')
0 files changed, 0 insertions, 0 deletions