aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2018-11-19 22:35:19 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2018-11-19 22:35:19 -0500
commitdbe4e6545ee6a02da1a081fb51becb2843353bad (patch)
tree93df18e2754524e6f1510e6f5d35e09e623d9a6e /gdb/infrun.c
parent85a2ae1134426242fe52b609c372234062e0fa58 (diff)
downloadgdb-dbe4e6545ee6a02da1a081fb51becb2843353bad.zip
gdb-dbe4e6545ee6a02da1a081fb51becb2843353bad.tar.gz
gdb-dbe4e6545ee6a02da1a081fb51becb2843353bad.tar.bz2
Remove displaced_step_inferior_state::next
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.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 1c48740..3e9acb4 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -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;