Remove displaced_step_inferior_state::next
Commit
39a36629f6
("Use std::forward_list for displaced_step_inferior_states")
missed removing the "next" field, while changing the hand-made linked
list in favor of std::forward_list. This patch fixes that.
gdb/ChangeLog:
* infrun.c (displaced_step_inferior_state) <next>: Remove.
This commit is contained in:
parent
85a2ae1134
commit
dbe4e6545e
|
@ -1,3 +1,7 @@
|
|||
2018-11-19 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* infrun.c (displaced_step_inferior_state) <next>: Remove.
|
||||
|
||||
2018-11-19 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* source.c (get_filename_and_charpos): Return void.
|
||||
|
|
|
@ -1484,9 +1484,6 @@ displaced_step_closure::~displaced_step_closure () = default;
|
|||
/* Per-inferior displaced stepping state. */
|
||||
struct displaced_step_inferior_state
|
||||
{
|
||||
/* Pointer to next in linked list. */
|
||||
struct displaced_step_inferior_state *next;
|
||||
|
||||
/* The process this displaced step state refers to. */
|
||||
inferior *inf;
|
||||
|
||||
|
|
Loading…
Reference in New Issue