From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 From: Tankut Baris Aktemur 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-Spam-Status: No, score=-14.0 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Wed, 21 Apr 2021 12:57:57 -0000 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