From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id oMczI1ghgGBFNwAAWB0awg (envelope-from ) for ; Wed, 21 Apr 2021 08:58:00 -0400 Received: by simark.ca (Postfix, from userid 112) id 8D99B1F108; Wed, 21 Apr 2021 08:58:00 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.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 D51CF1F104 for ; Wed, 21 Apr 2021 08:57:58 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4ECF53AAB030; Wed, 21 Apr 2021 12:57:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4ECF53AAB030 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1619009878; bh=ZYm1lDfmdgskyxfg+rs4fWbxNMatgyghP6gqmjPdmig=; h=To:Subject:Date:In-Reply-To:References:In-Reply-To:References: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help: List-Subscribe:From:Reply-To:From; b=HGMzOsj8muTT+8o/n7zRRzLWVheDlxS6Rv6R9QKi1yWTxS+D4Pgsq4WPvGNrDDobO yiYSGMySrU0BlXZLrDzJbUQwpnRmllipsANuVfLHIYtLe0sMWzCymeGYGG6cMe6LYr rKSzEEb88JkI9Mj9SeJtkCMMiJZijsJitgxtjNps= Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by sourceware.org (Postfix) with ESMTPS id D468339B7035 for ; Wed, 21 Apr 2021 12:57:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D468339B7035 IronPort-SDR: hIh98gjiv5G94Qr6tEv0Rtu/E1NDPZa0wPd9gbnP3jG310r9ytgKcrzmvtBzNcUMwQfde1Y1ih b/rBngVMft2Q== X-IronPort-AV: E=McAfee;i="6200,9189,9960"; a="182821825" X-IronPort-AV: E=Sophos;i="5.82,238,1613462400"; d="scan'208";a="182821825" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2021 05:57:51 -0700 IronPort-SDR: wfcNpVBHFeFEb7hrVPtdEBK5N4pRZ3M8o/+ZQ8H5Jio2HF1/OCX5f0wthgCcaqx6hbIqfqqBa4 NpRNCOzdnYUA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,238,1613462400"; d="scan'208";a="614081179" Received: from irvmail001.ir.intel.com ([10.43.11.63]) by fmsmga006.fm.intel.com with ESMTP; 21 Apr 2021 05:57:50 -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 13LCvntW011350; Wed, 21 Apr 2021 13:57:49 +0100 Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id 13LCvn62031935; Wed, 21 Apr 2021 14:57:49 +0200 Received: (from taktemur@localhost) by ulvlx001.iul.intel.com with LOCAL id 13LCvm54031931; Wed, 21 Apr 2021 14:57:49 +0200 To: gdb-patches@sourceware.org Subject: [PATCH 2/6] gdb/infcmd: update the comment for 'attach_post_wait' Date: Wed, 21 Apr 2021 14:57:27 +0200 Message-Id: X-Mailer: git-send-email 1.7.0.7 In-Reply-To: References: In-Reply-To: References: 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" gdb/ChangeLog: 2021-04-21 Tankut Baris Aktemur * infcmd.c (attach_post_wait): Update the function comment. --- gdb/infcmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/infcmd.c b/gdb/infcmd.c index f89eb7beb03..3439568be00 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -2467,8 +2467,8 @@ enum attach_post_wait_mode }; /* Called after we've attached to a process and we've seen it stop for - the first time. If ASYNC_EXEC is true, re-resume threads that - should be running. Else if ATTACH, */ + the first time. Resume, stop, or don't touch the threads according + to MODE. */ static void attach_post_wait (int from_tty, enum attach_post_wait_mode mode) @@ -2486,7 +2486,7 @@ attach_post_wait (int from_tty, enum attach_post_wait_mode mode) /* The user requested an `attach&', so be sure to leave threads that didn't get a signal running. */ - /* Immediatelly resume all suspended threads of this inferior, + /* Immediately resume all suspended threads of this inferior, and this inferior only. This should have no effect on already running threads. If a thread has been stopped with a signal, leave it be. */ -- 2.17.1