Message ID | 20220329154931.493851-6-npiggin@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=KBQWwSC0; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=<UNKNOWN>) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KSYsx6QHbz9sFk for <incoming@patchwork.ozlabs.org>; Wed, 30 Mar 2022 02:49:57 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4KSYsx5gHLz2xr9 for <incoming@patchwork.ozlabs.org>; Wed, 30 Mar 2022 02:49:57 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=KBQWwSC0; dkim-atps=neutral X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::633; helo=mail-pl1-x633.google.com; envelope-from=npiggin@gmail.com; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=KBQWwSC0; dkim-atps=neutral Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 4KSYss3zFfz2yHL for <pdbg@lists.ozlabs.org>; Wed, 30 Mar 2022 02:49:53 +1100 (AEDT) Received: by mail-pl1-x633.google.com with SMTP id x2so17999498plm.7 for <pdbg@lists.ozlabs.org>; Tue, 29 Mar 2022 08:49:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Nqc1hV8sroqYY3LXRavi9ojXRyAExVBS213cLoDoBqg=; b=KBQWwSC0Y4EtaTC7Ys2qYc11kzcdLzysztC8Jjenbi1iNkNm4qN6rVc/1f/3Kv8M4c Q6IQxkff3gTVwKK9cm4IWrv+cbeLufru4EqIFw3gow4dXZ0Q4+5NToSVc+4WUhXtMxd0 AJTSST5vXOfH27rGKbDbPoffT9gC97TRWat5YqXsKXsw/yM8sQkYJRQTK3j1J869QLxS RRd5P98l82zbM5eqJkBQsNCEbJ5ff/p7nrnBJ4fruyjgyqz0yTYfRewAhR37C4ZNZX+f 3pMr8DdYVmXFifhWFrIEsRMHh8JKgz3VlIRpeI7dsGAEfWI24GntRi8G4BjPoDazd73o SoAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Nqc1hV8sroqYY3LXRavi9ojXRyAExVBS213cLoDoBqg=; b=3uX74tRN+l3qrJWDF4xPcAwoacaqPXkZfGFZHjXG2jLX4ytTidSloy2zWPB2ruj9ne VF3WGPgWcMy5xTaaoiYMffZktDWdNzzwJUluJCQcOJki5mk6vPWUNEtY4vZ5fVcH4QK4 6nywo+oVB0z5hdAOGtmIWdaKaD0Sa9Hyhyp+J2u/5Uu8fTgdkZOTLpM8ftPHkHnY3qAp s5fHW9+vokx2BU13q28s8bmcSQpaiM178RDHeO+8ubywHqQRC7TxfEn84dSc/R3qFIpI v5ZGOvhNewtSpaSKvHwxagSVGl2dfI6eCR7FzRkdnMRIcbvpMqLDzZKSVIre0Vue7Je6 VkJg== X-Gm-Message-State: AOAM533kI9Q9AVd8GL9miYhsABfczOd/LNT+iyt39w19xl5qyubwx0SB BQGRdETqc58DotR09lJxPtKIe3LbQS0= X-Google-Smtp-Source: ABdhPJx38qEuIqnlYyLFp34YkqFl6PbQ+q7M2uxo9PiGHS3GB6axO9oAN5ZWzFMY9AgriRERDX2Z6A== X-Received: by 2002:a17:90b:4d11:b0:1c7:4c81:2996 with SMTP id mw17-20020a17090b4d1100b001c74c812996mr239825pjb.170.1648568991435; Tue, 29 Mar 2022 08:49:51 -0700 (PDT) Received: from bobo.ibm.com (58-6-255-110.tpgi.com.au. [58.6.255.110]) by smtp.gmail.com with ESMTPSA id s35-20020a056a001c6300b004fb20b5d6c1sm14163564pfw.40.2022.03.29.08.49.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Mar 2022 08:49:51 -0700 (PDT) From: Nicholas Piggin <npiggin@gmail.com> To: pdbg@lists.ozlabs.org Date: Wed, 30 Mar 2022 01:48:58 +1000 Message-Id: <20220329154931.493851-6-npiggin@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20220329154931.493851-1-npiggin@gmail.com> References: <20220329154931.493851-1-npiggin@gmail.com> MIME-Version: 1.0 Subject: [Pdbg] [PATCH v2 05/38] gdbserver: Document problem and workaround for client remote timeouts X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" <pdbg.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/pdbg>, <mailto:pdbg-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/pdbg/> List-Post: <mailto:pdbg@lists.ozlabs.org> List-Help: <mailto:pdbg-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/pdbg>, <mailto:pdbg-request@lists.ozlabs.org?subject=subscribe> Cc: Nicholas Piggin <npiggin@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" <pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
gdbserver multi-threaded debugging and POWER9/10 support
|
expand
|
diff --git a/README.md b/README.md index 316976e..be26dc1 100644 --- a/README.md +++ b/README.md @@ -546,6 +546,13 @@ $ gdb Debugging info: (gdb) set debug remote 10 +Long-running operations or high latency links: +The gdb client timeout defaults to 2 seconds after which it re-transmits +commands. The gdb server does not deal with this robustly today and this +can cause hangs and other unexpected results. If gdb client stops +responding, behaves strangely or complains about bad or unexpected remote +packets, try increasing the timeout. E.g., +(gdb) set remotetimeout 60 Notes: 1. DON'T RUN PDBG OVER FSI WHILE HOSTBOOT IS RUNNING. Weird things seem to
gdbserver does not robustly deal with the gdb client timing out and re-sending packets. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- README.md | 7 +++++++ 1 file changed, 7 insertions(+)