Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 336E0C433F5 for ; Tue, 4 Jan 2022 17:27:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234553AbiADR1F (ORCPT ); Tue, 4 Jan 2022 12:27:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234205AbiADR1F (ORCPT ); Tue, 4 Jan 2022 12:27:05 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1277C061761 for ; Tue, 4 Jan 2022 09:27:04 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id bg19-20020a05600c3c9300b0034565e837b6so1127292wmb.1 for ; Tue, 04 Jan 2022 09:27:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=FkvEoZ+f1KklL29+roJfQw/3hslNdGuWFi/qt4fzI8M=; b=R899uS41/RNeFFNpSnGxelyhgwPPMfXksBO72coQY7q6dqkyhx3hjShQ/aZvkwwHbd 6hO5XmIxz0mDI644+u1/1qDCDf3LrknftqzZa/B9l1SqcPAFYuTadf10B7Odh2voElbe 7X325pv1hQLekivXePmdeQCu9W8v/qiDYbiriGnagbZGEuT9AH70SkXXruldHvcjgf2C ZbZ2Syg1iLg9CqKf2Eqod2C2/XNIWn46Z1FPr+ylBJgPMLE0ffpTRIy2u7cH8qo2vKDB DuVCAKWSs+o2h6kWQYnzX1oeJzqcAlkmH9+qkbtIiVnUnMHagR+tM/WrmjlBpkh932FT I/+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=FkvEoZ+f1KklL29+roJfQw/3hslNdGuWFi/qt4fzI8M=; b=qJPGO7H8T1sUD3mSGir0Vl/UCdMhECMsic7RZVehICnH8lRs55glNdsU6hKHzbNqwL 8IQr03ZxfLzmLAnqTyviahuU32TVHUjXaUBmEEKZ2EAYTyVj82N1qGffHJ0Bv6cRoHKG iqNjn90JU9gSR09yIiDLAmTw5Y82cR6KQvIu6KgDcOR9CDd4pcfuz4uST1ygTyxM2ctY TnZk91d9aPB0r7vG2PMJV0URVfThDlHBN9AdlpxmAn4qwNseFgoEyRNSKjv2cyCK5XZ+ u7v1CRbqbn1g0a7sFSDJrSoFgyiUC07QaXbwNQMp5DAT1cRoX2nFjXM+KN0glDKkTmMT uAvw== X-Gm-Message-State: AOAM532KhrnBwJOq5YhrE2EXyMnVPpsUlYU3mMgEfPYOva8uZ4H1XVOz quMxkeDccRDb8I8ucdyRTHkzdHqOlaO0+kDd X-Google-Smtp-Source: ABdhPJz5YFm5a05QEukbkxkYHFV4Q3kslnLu7Nlf+0vhzDrdejKouDenOe8oqoMDNNfTGkOd/4eeJQ== X-Received: by 2002:a05:600c:2904:: with SMTP id i4mr41957999wmd.61.1641317223293; Tue, 04 Jan 2022 09:27:03 -0800 (PST) Received: from maple.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id i8sm7945wmq.4.2022.01.04.09.27.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 09:27:02 -0800 (PST) Date: Tue, 4 Jan 2022 17:27:01 +0000 From: Daniel Thompson To: Christian =?utf-8?B?TMO2aGxl?= Cc: "jason.wessel@windriver.com" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "dianders@chromium.org" , "corbet@lwn.net" Subject: Re: [PATCH] Documentation: kgdb: Replace deprecated remotebaud Message-ID: <20220104172701.7ychluvlcts4anab@maple.lan> References: <13287b7914344c7995de27224cd2fa73@hyperstone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <13287b7914344c7995de27224cd2fa73@hyperstone.com> Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Tue, Jan 04, 2022 at 04:56:51PM +0000, Christian Löhle wrote: > The gdb remotebaud to set baudrate has been replaced in favor of > set serial baud many years ago. I'd prefer to have a little more historical info in the patch header so that anyone still running gdb-7.6 has a better shot at finding out what is going on (some folks in the embedded world end up relying on surprisingly old cross-toolsets). In other words something more like: Using set remotebaud to set the baud rate was deprecated in gdb-7.7 and completely removed from the command parser in gdb-7.8 (released in 2014). Adopt set serial baud instead. Other than that the change looks good to me so with an improved description containing the above versions and dates this can be: Reviewed-by: Daniel Thompson Thanks Daniel. > > Signed-off-by: Christian Loehle > --- > Documentation/dev-tools/kgdb.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/dev-tools/kgdb.rst b/Documentation/dev-tools/kgdb.rst > index 43456244651a..7c90e111b364 100644 > --- a/Documentation/dev-tools/kgdb.rst > +++ b/Documentation/dev-tools/kgdb.rst > @@ -557,7 +557,7 @@ Connecting with gdb to a serial port > Example (using a directly connected port):: > > % gdb ./vmlinux > - (gdb) set remotebaud 115200 > + (gdb) set serial baud 115200 > (gdb) target remote /dev/ttyS0 > > > -- > 2.34.1 > Hyperstone GmbH | Reichenaustr. 39a | 78467 Konstanz > Managing Director: Dr. Jan Peter Berns. > Commercial register of local courts: Freiburg HRB381782 >