From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by sourceware.org (Postfix) with ESMTPS id CF8D23898512 for ; Tue, 15 Nov 2022 17:13:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CF8D23898512 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-io1-xd36.google.com with SMTP id s10so11147011ioa.5 for ; Tue, 15 Nov 2022 09:13:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Zili9OIdThe+naam2yBrbuUl9R+h73I42+i6JQBnyyc=; b=iHV+yCI/v2PeL7ekyBhIGCBMH0bhBjbIU80XnmpPZsPtiypY5u8zrHDUc1ANVh95nL B5QQjGGHAwO8D4niWBwPGO1LlDWBSDrHcTREQddC9iTBWho91pPX9Dl994m/C+J1NiFi WanjtInQZl0ie1AJOIs9IKWACzHK6B+H4pKzUoaoBkXLnPgTi0Z83ZiRNkEtcnwVOriN 2uFsTGHwBI+c0RxeqKscmY+y4jx47LjJMrP+sqJAEhnxrLm1Upc3N7TWu7w6YpUmHUBJ la0pBKuuLTQ4WHO3cjH9CJvTgq05Rgs5ph1UKk2+Qi4YkQVi1YAbtnVluSVeID9/G2uq cNxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Zili9OIdThe+naam2yBrbuUl9R+h73I42+i6JQBnyyc=; b=NRLcZhM1ZZliwFvzzIzhrvzGlra8qkVcViGFkyBXGbcMXUvmzqa7lZ4nyLIdYAJzL6 RQTRE6xFjjAu7kmfbqLotGvYcuRG75ANhy+gOPIf71Jocwq9nHCqTeY+CU6MeWFST6F4 o9IdUfay5YGM+j+qLJBMymqNrTCYjsxOe4UHj0UMuI2BW9yomgEct0uPefRx11UdhtD1 GAPVeLIGVXj7giUJrDhYgITP9uc27sQEZWl8g3Y6UA7oRzuEi4UXw7D5oWzzM5iQ6Djl HPMIncOyR8kHF/6/DyJylLgfgGN+ZMrv+FIlshPDBvZYWevldO5xVBEt+gEoKbL0zii5 TEww== X-Gm-Message-State: ANoB5pmXm3mL1XBCRGNnAoZ8ZP33/Wdi3yP0b4ovtxEP/K1GLDIW26Yt L9M9oIujoMo7fmmWej+Rc2Qj+oV7X/R+Ig== X-Google-Smtp-Source: AA0mqf5z/LGV+mPQvvpg8YFWNV5xNVlJq0g49qjDFX/u8VcddHfVjfil5s3eeHV2JD306yUS/Qvn8A== X-Received: by 2002:a5d:9585:0:b0:6d3:c9df:bc7d with SMTP id a5-20020a5d9585000000b006d3c9dfbc7dmr8376732ioo.142.1668532387101; Tue, 15 Nov 2022 09:13:07 -0800 (PST) Received: from localhost.localdomain (97-122-76-186.hlrn.qwest.net. [97.122.76.186]) by smtp.gmail.com with ESMTPSA id p7-20020a02b007000000b003762a346160sm314214jah.84.2022.11.15.09.13.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 09:13:06 -0800 (PST) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH] Update Ada tasks documentation Date: Tue, 15 Nov 2022 10:13:00 -0700 Message-Id: <20221115171300.1715254-1-tromey@adacore.com> X-Mailer: git-send-email 2.34.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: My co-worker Kévin noticed that the Ada tasks documentation is slightly out of date -- it does not document all the states that can be reported by ada-tasks.c. This patch adds the missing states to the appropriate node, and updates one state to reflect a change made some time ago. --- gdb/doc/gdb.texinfo | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index ea66f4ee42d..0b708b9f801 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -18858,7 +18858,7 @@ terminated themselves. @item Child Activation Wait The task is waiting for created tasks to complete activation. -@item Accept Statement +@item Accept or Select Term The task is waiting on an accept or selective wait statement. @item Waiting on entry call @@ -18881,8 +18881,20 @@ waiting on a terminate Phase. The task is sleeping waiting for tasks on terminate alternatives to finish terminating. +@item Asynchronous Hold +The task has been held by @code{Ada.Asynchronous_Task_Control.Hold_Task}. + +@item Activating +The task has been created and is being made runnable. + +@item Selective Wait +The task is waiting in a selective wait statement. + @item Accepting RV with @var{taskno} The task is accepting a rendez-vous with the task @var{taskno}. + +@item Waiting on RV with @var{taskno} +The task is waiting for a rendez-vous with the task @var{taskno}. @end table @item Name -- 2.34.3