From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id RKXzKVkhgGBcNwAAWB0awg (envelope-from ) for ; Wed, 21 Apr 2021 08:58:01 -0400 Received: by simark.ca (Postfix, from userid 112) id A3DF21F104; Wed, 21 Apr 2021 08:58:01 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 7722D1E813 for ; Wed, 21 Apr 2021 08:57:59 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C81433AAB401; Wed, 21 Apr 2021 12:57:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C81433AAB401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1619009878; bh=WXsEIJemkgp1leBaX1bKb0pXVg82JsArOUudwkgy4u8=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=F130ul/iM4DGYAn7VFxEmI/EHpE/CV0Upv5xU9W4q/9ly2rk/M/ATFfxNTct8qUaP dl5nBXpDNFXMz4WmEa8TYOGShhGeDtLv7tGantRYUEIezDaCpp5BzpfxzwzghIpiE0 u9JcWO+HznL0N1Y+ikxGUQMHOKtMBth4CwHS+0rw= Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by sourceware.org (Postfix) with ESMTPS id BAC8A3892448 for ; Wed, 21 Apr 2021 12:57:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BAC8A3892448 IronPort-SDR: 5nYW0U1K9Zp5sM9bCzPXTva11Qo+iO7OhrAiRBjyoEZf2lW8Ev8DCfcoC7JAuGwhnWMuxYsv4K 0EBZWoBuIe/A== X-IronPort-AV: E=McAfee;i="6200,9189,9960"; a="192502614" X-IronPort-AV: E=Sophos;i="5.82,238,1613462400"; d="scan'208";a="192502614" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2021 05:57:50 -0700 IronPort-SDR: wnPpDlxe3yGjuip1WpE15W/xGMUQwoX40ZjVY5AuBcCakmbiAoKpP5r/jmG5fta7HiyOgmQ1e3 q/+8gN4Xu8Vg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,238,1613462400"; d="scan'208";a="384440525" Received: from irvmail001.ir.intel.com ([10.43.11.63]) by orsmga003.jf.intel.com with ESMTP; 21 Apr 2021 05:57:49 -0700 Received: from ulvlx001.iul.intel.com (ulvlx001.iul.intel.com [172.28.207.17]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id 13LCvmiC011344; Wed, 21 Apr 2021 13:57:48 +0100 Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id 13LCvmuY031921; Wed, 21 Apr 2021 14:57:48 +0200 Received: (from taktemur@localhost) by ulvlx001.iul.intel.com with LOCAL id 13LCvlrr031917; Wed, 21 Apr 2021 14:57:48 +0200 To: gdb-patches@sourceware.org Subject: [PATCH 0/6] Refactoring around inferior continuations Date: Wed, 21 Apr 2021 14:57:25 +0200 Message-Id: X-Mailer: git-send-email 1.7.0.7 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tankut Baris Aktemur via Gdb-patches Reply-To: Tankut Baris Aktemur Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" Hi, This is a refactoring/clean-up of the inferior continuations. Thanks Baris Tankut Baris Aktemur (6): gdb/infcmd: remove the unused parameter 'args' in 'attach_post_wait' gdb/infcmd: update the comment for 'attach_post_wait' gdb/continuations: remove the 'err' from 'do_all_inferior_continuations' gdb/continuations: do minor cleanup gdb/continuations: use lambdas instead of function pointers gdb/continuations: turn continuation functions into inferior methods gdb/Makefile.in | 1 - gdb/continuations.c | 134 -------------------------------------------- gdb/continuations.h | 55 ------------------ gdb/event-top.c | 1 - gdb/inf-loop.c | 3 +- gdb/infcmd.c | 65 +++++---------------- gdb/inferior.c | 20 ++++++- gdb/inferior.h | 19 +++++-- gdb/interps.c | 1 - 9 files changed, 46 insertions(+), 253 deletions(-) delete mode 100644 gdb/continuations.c delete mode 100644 gdb/continuations.h -- 2.17.1