U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: Lothar Rubusch <l.rubusch@gmail.com>
Cc: sjg@chromium.org, trini@konsulko.com, alpernebiyasak@gmail.com,
	ada@thorsis.com, xypron.glpk@gmx.de, mkorpershoek@baylibre.com,
	dario.binacchi@amarulasolutions.com, u-boot@lists.denx.de
Subject: Re: [PATCH v3 2/2] doc: develop: Fix typos and wording in gdb.rst
Date: Thu, 5 Dec 2024 08:30:09 +0100	[thread overview]
Message-ID: <20241205-sadden-duplicity-771e3f7a0bae@thorsis.com> (raw)
In-Reply-To: <20241204183313.144473-3-l.rubusch@gmail.com>

Hello Lothar,

Am Wed, Dec 04, 2024 at 06:33:13PM +0000 schrieb Lothar Rubusch:
> Fix some typos and duplicate words in gdb.rst.
> 
> Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>
> Acked-by: Alexander Dahl <ada@thorsis.com>
> ---
>  doc/develop/gdb.rst | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/doc/develop/gdb.rst b/doc/develop/gdb.rst
> index 4e359c7f22..79510ee94d 100644
> --- a/doc/develop/gdb.rst
> +++ b/doc/develop/gdb.rst
> @@ -8,12 +8,12 @@ Using a JTAG adapter it is possible to debug a running U-Boot with GDB.
>  A common way is to connect a debug adapter to the JTAG connector of your
>  board, run a GDB server, connect GDB to the GDB server, and use GDB as usual.
>  
> -Similarly QEMU can provide a GDB server.
> +Similarly, QEMU can provide a GDB server.
>  
>  Preparing build
>  ---------------
>  
> -Building U-Boot with with reduced optimization (-Og) and without link time
> +Building U-Boot with reduced optimization (-Og) and without link time
>  optimization is recommended for easier debugging::
>  
>      CONFIG_CC_OPTIMIZE_FOR_DEBUG=y
> @@ -24,7 +24,7 @@ Otherwise build, install, and run U-Boot as usual.
>  Using OpenOCD as GDB server
>  ---------------------------
>  
> -`OpenOCD <https://openocd.org/>`_ is an open source tool supporting hardware
> +`OpenOCD <https://openocd.org/>`_ is an open-source tool supporting hardware
>  debug probes, and providing a GDB server. It is readily available in major Linux
>  distributions or you can build it from source.
>  
> @@ -144,7 +144,7 @@ riscv        gp
>  sh           r13
>  ============ ========
>  
> -On these architecture the relocation address cat be determined by
> +On these architectures the relocation address can be determined by
>  dereferencing the global data pointer stored in register, *r9* in the example:
>  
>  .. code-block:: console
> @@ -153,7 +153,7 @@ dereferencing the global data pointer stored in register, *r9* in the example:
>       $1 = 0x27f7a000
>  
>  In the GDB shell discard the previously loaded symbol file and add it once
> -again with the relocation address like this:
> +again, with the relocation address like this:

Acked-by: Alexander Dahl <ada@thorsis.com>

Greets
Alex


      reply	other threads:[~2024-12-05  7:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-04 18:33 [PATCH v3 0/2] doc: orthographic delights Lothar Rubusch
2024-12-04 18:33 ` [PATCH v3 1/2] doc: develop: Fix typos and wording in binman/binman.rst Lothar Rubusch
2024-12-05 17:57   ` Simon Glass
2024-12-04 18:33 ` [PATCH v3 2/2] doc: develop: Fix typos and wording in gdb.rst Lothar Rubusch
2024-12-05  7:30   ` Alexander Dahl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241205-sadden-duplicity-771e3f7a0bae@thorsis.com \
    --to=ada@thorsis.com \
    --cc=alpernebiyasak@gmail.com \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=l.rubusch@gmail.com \
    --cc=mkorpershoek@baylibre.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox