From patchwork Thu Jul 13 14:05:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 72651 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CFB47384C6A9 for ; Thu, 13 Jul 2023 14:06:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CFB47384C6A9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689257187; bh=CgBqoVXNBSK3YIGKKk0HC35fnVzOUOZqHhlLZ0FarDU=; h=Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=NyKEaxt5B/psA9FkQPNjNZNc8/ymTPV+nX0W5E/URu+tuMzJGR1/Nl6hsEgk4C9XU 5Orss3pWAPzzEODhHkcpq+dvn4h12MxvsJJr44A2C9INrdaRbR0X+tItBn2lW5yWyF wr++P2pgpFAb3ouP4JD/swYRdWYCz4KVLRCXIctk= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by sourceware.org (Postfix) with ESMTPS id 1BF373858C00 for ; Thu, 13 Jul 2023 14:05:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1BF373858C00 Received: by mail-io1-xd2f.google.com with SMTP id ca18e2360f4ac-76c64da0e46so24962939f.0 for ; Thu, 13 Jul 2023 07:05:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689257133; x=1691849133; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CgBqoVXNBSK3YIGKKk0HC35fnVzOUOZqHhlLZ0FarDU=; b=T7Oc0nWgmu7FCmz0BS+MgfBHoWEk0i2AB0ZzGkDgCUnVcY+PbCYhBHeHl8klHtxFBp D9CMdNdPy15YGayikp5ewuKifr0jPj4JuZJ7Giz/T1QvYBob5WV9cEVGJr+sapBA/Jp/ E5AL08RmaELDSdSR6gCGq8Igg12LrWwZptK8FOzms9BLwkTHZHZCBy5f2LQ8OnCE9kLB 8tXxRaoIHhzblUImRLEWHUtchY9rX24CpcxSD17s48N0UDFAjPiDMWC5sBWy35OkR0Wu +2/paFc0/CrkkjYzZmc9FWSGgL/pP+iJVhgYYRuuy2fRT2A8lcQQ7MjKqn5bN8Al2/XS Sa5w== X-Gm-Message-State: ABy/qLa1thuXv5R/fsyjLFSe4JShSFbS2i+zc7oG/Bp4KeMGNSD2oWYA J92YwbsMvEIBQS5oBVj8crUWI/CX8OEU2bmDK6AWgA== X-Google-Smtp-Source: APBJJlGUJ15x9uWCde0nyxZxGnjbYB1ByCXlMqu/I9aefXPXqUP5x2qGRO7f75+D803W4W+1uH6Eng== X-Received: by 2002:a5e:8608:0:b0:783:56f2:e733 with SMTP id z8-20020a5e8608000000b0078356f2e733mr1899839ioj.4.1689257132924; Thu, 13 Jul 2023 07:05:32 -0700 (PDT) Received: from localhost.localdomain (75-166-135-140.hlrn.qwest.net. [75.166.135.140]) by smtp.gmail.com with ESMTPSA id n13-20020a02a90d000000b0042b7b76b29fsm1841336jam.174.2023.07.13.07.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 07:05:32 -0700 (PDT) Date: Thu, 13 Jul 2023 08:05:29 -0600 Subject: [PATCH v3 4/6] Remove obsolete comment from gdbthread.h MIME-Version: 1.0 Message-Id: <20230713-py-inf-fixes-30615-v3-4-26a024f30553@adacore.com> References: <20230713-py-inf-fixes-30615-v3-0-26a024f30553@adacore.com> In-Reply-To: <20230713-py-inf-fixes-30615-v3-0-26a024f30553@adacore.com> To: gdb-patches@sourceware.org Cc: Pedro Alves X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-11.5 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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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-Patchwork-Original-From: Tom Tromey via Gdb-patches From: Tom Tromey Reply-To: Tom Tromey Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" A comment in gdbthread.h refers to a global that no longer exists. Approved-By: Pedro Alves --- gdb/gdbthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h index 7135515bf45..d294be6762b 100644 --- a/gdb/gdbthread.h +++ b/gdb/gdbthread.h @@ -764,7 +764,7 @@ extern int thread_count (process_stratum_target *proc_target); /* Return true if we have any thread in any inferior. */ extern bool any_thread_p (); -/* Switch context to thread THR. Also sets the STOP_PC global. */ +/* Switch context to thread THR. */ extern void switch_to_thread (struct thread_info *thr); /* Switch context to no thread selected. */