From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 41CC0C433EF for ; Sun, 3 Apr 2022 10:39:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 42A1083AD0; Sun, 3 Apr 2022 12:39:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="XXYp6COc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 38CD883AD0; Sun, 3 Apr 2022 12:39:25 +0200 (CEST) Received: from mail-wm1-x34a.google.com (mail-wm1-x34a.google.com [IPv6:2a00:1450:4864:20::34a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EB72383941 for ; Sun, 3 Apr 2022 12:39:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=3WHlJYgYKBokn5p7yyt11tyr.p1z7-o116yv565.qr0A.qr@flex--ascull.bounces.google.com Received: by mail-wm1-x34a.google.com with SMTP id i6-20020a05600c354600b0038be262d9d9so5391203wmq.8 for ; Sun, 03 Apr 2022 03:39:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=SKBZ9QqR81rhCGLsACPt4IC10r/E2CwYHCHglcJlb3k=; b=XXYp6COcCQ4MhpAlQLBiziqTHyqEcU4C148lxJTV77fYg9yWyhj1Cb9aZ1nJy1c3PY ex03CJYI2yK1FV2PPKq4JpzZCReDkO97mfYQqFSv4qLGKOxTHVU+rajHDLOUMD+iG2qQ RYcUIfnK+j8ButMnjP1dWEBw++jdFuIpd/oPrWjAhO25hidzvXCyGoVUTz+qhRzKLYfe jmUgbMQC+XV+s5XIqd3r/p7JUeBkO9yMhP6sxrdyU2XCFJeQu8ixvmA7cO20fZG9oFxx gq+cXtVCQzXujpnD1JPDLe15DZp2Y52eyr2KwDchC/nVf6OReP9u0wykGfvRCggT7uBK vpgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=SKBZ9QqR81rhCGLsACPt4IC10r/E2CwYHCHglcJlb3k=; b=yjiBZnyFPGx6naUHJCcKiZJeHdVQBXORjz3g1Et76PTW+uSdd2h/qDCwQj0PjM4y7m UOK79fDHlSxzQ/DfW+25ZyUPPm9iC/5+31COEyiw3KRLkdH+LjAVFyFrcGKg+GNFuyYa /ofkIOihGnWOm5ZDSBqkzXKYTg4TJ+2yrqLfotYSei4qaCPcnLqDKv73QmHBgzVai39+ /lpefmofU8L3erVB4PA8jx647GBAkEF2DkkbW8RJp68ZDWUU8CDXx6xJjCuCIwYMnqvh R+IKCr95YoCyRsgpHCfYmFh2vXhug986qocUOo5aEpv6R/5lJAfFOS97OzcXVmuhYi+/ ixZw== X-Gm-Message-State: AOAM533kHWOijt+zBXSa7CWPP8HtlcqKMKmYQI3u+26mBg8U9tv1z1h3 tmgzkqKRQqc2Pk9qSyA3eEi7qFEdOiA8s5AG6xUoUZF9EOUKVdQFHIqEvQgnilIFkuVQ4j+ANFN FQoGWhC+HYycEgRAkdnmBuoeKm6gR0akLaxBP4P+oMGUL3NNJlOIogxdbL+U= X-Google-Smtp-Source: ABdhPJxMdik52XFMnQAqmJvIU0Dc4R7h90rrd9hFhPwSw8IrsB7iW43Ubw3EUTlvxI//9ao/xPnKhwUNAys= X-Received: from ascull.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:1510]) (user=ascull job=sendgmr) by 2002:a05:600c:4611:b0:389:9f47:30cd with SMTP id m17-20020a05600c461100b003899f4730cdmr14768229wmo.185.1648982360483; Sun, 03 Apr 2022 03:39:20 -0700 (PDT) Date: Sun, 3 Apr 2022 10:39:08 +0000 In-Reply-To: <20220403103915.3338027-1-ascull@google.com> Message-Id: <20220403103915.3338027-2-ascull@google.com> Mime-Version: 1.0 References: <20220403103915.3338027-1-ascull@google.com> X-Mailer: git-send-email 2.35.1.1094.g7c7d902a7c-goog Subject: [PATCH 1/8] doc: Correct position of gdb '--args' parameter From: Andrew Scull To: u-boot@lists.denx.de Cc: sjg@chromium.org, seanga2@gmail.com, Andrew Scull Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean The '--args' parameter to gdb comes before the binary that the debugger will be attached to rather than after the binary and before the arguments. Fix that in the docs. Signed-off-by: Andrew Scull Cc: Simon Glass --- doc/develop/tests_sandbox.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/develop/tests_sandbox.rst b/doc/develop/tests_sandbox.rst index 84608dcb84..40cf8ecdd7 100644 --- a/doc/develop/tests_sandbox.rst +++ b/doc/develop/tests_sandbox.rst @@ -103,7 +103,7 @@ running with -D will produce different results. You can easily use gdb on these tests, without needing --gdbserver:: - $ gdb u-boot --args -T -c "ut dm gpio" + $ gdb --args u-boot -T -c "ut dm gpio" ... (gdb) break dm_test_gpio Breakpoint 1 at 0x1415bd: file test/dm/gpio.c, line 37. -- 2.35.1.1094.g7c7d902a7c-goog