From patchwork Tue Nov 20 03:38:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 30214 Received: (qmail 37052 invoked by alias); 20 Nov 2018 03:38:37 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 34413 invoked by uid 89); 20 Nov 2018 03:38:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: barracuda.ebox.ca Received: from barracuda.ebox.ca (HELO barracuda.ebox.ca) (96.127.255.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 20 Nov 2018 03:38:33 +0000 Received: from smtp.ebox.ca (smtp.electronicbox.net [96.127.255.82]) by barracuda.ebox.ca with ESMTP id ZyzhfKl8vedgj0lL (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Nov 2018 22:38:31 -0500 (EST) Received: from simark.lan (unknown [192.222.164.54]) by smtp.ebox.ca (Postfix) with ESMTP id 62D69441D64; Mon, 19 Nov 2018 22:38:31 -0500 (EST) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [pushed] Remove displaced_step_inferior_state::next Date: Mon, 19 Nov 2018 22:38:30 -0500 Message-Id: <20181120033830.31979-1-simon.marchi@polymtl.ca> MIME-Version: 1.0 X-IsSubscribed: yes 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) : Remove. --- gdb/ChangeLog | 4 ++++ gdb/infrun.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6973f427d0d2..f2b6f5633c02 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-11-19 Simon Marchi + + * infrun.c (displaced_step_inferior_state) : Remove. + 2018-11-19 Tom Tromey * source.c (get_filename_and_charpos): Return void. diff --git a/gdb/infrun.c b/gdb/infrun.c index 1c48740404e0..3e9acb45aa98 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;