Remove displaced_step_inferior_state::next
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 20 Nov 2018 03:35:19 +0000 (22:35 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 20 Nov 2018 03:35:19 +0000 (22:35 -0500)
Commit

  39a36629f68e ("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.

gdb/ChangeLog
gdb/infrun.c

index 6973f427d0d2813f49e708cf7c34585279746428..f2b6f5633c0265686f9694faadb1a02c1f954332 100644 (file)
@@ -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.
index 1c48740404e09ed40a017e05a3f5c2d4746b32b6..3e9acb45aa98b1fb551ccd80029e425f528e3cf0 100644 (file)
@@ -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;