From 4efeb0d3e8ee210cd61b15355cca39b16b66004d Mon Sep 17 00:00:00 2001 From: Tankut Baris Aktemur Date: Thu, 22 Apr 2021 17:22:39 +0200 Subject: gdb/continuations: turn continuation functions into inferior methods Turn continuations-related functions into methods of the inferior class. This is a refactoring. gdb/ChangeLog: 2021-04-22 Tankut Baris Aktemur * Makefile.in (COMMON_SFILES): Remove continuations.c. * inferior.c (inferior::add_continuation): New method, adapted from 'add_inferior_continuation'. (inferior::do_all_continuations): New method, adapted from 'do_all_inferior_continuations'. (inferior::~inferior): Clear the list of continuations directly. * inferior.h (class inferior) : Rename into... : ...this and make private. * continuations.c: Remove. * continuations.h: Remove. * event-top.c: Don't include "continuations.h". Update the users below. * inf-loop.c (inferior_event_handler) * infcmd.c (attach_command) (notice_new_inferior): Update. --- gdb/Makefile.in | 1 - 1 file changed, 1 deletion(-) (limited to 'gdb/Makefile.in') diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 4904190..ba0cabb 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1004,7 +1004,6 @@ COMMON_SFILES = \ coffread.c \ complaints.c \ completer.c \ - continuations.c \ copying.c \ corefile.c \ corelow.c \ -- cgit v1.1