diff options
author | Andrew Scull <ascull@google.com> | 2022-04-03 10:39:08 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-29 11:11:36 -0400 |
commit | 53cb97c093061b81ab3247c432d15be011353470 (patch) | |
tree | 7ec35958182aa87d204ac0cab5c00bf90d6045bd /doc | |
parent | e95afa56753cebcd20a5114b6d121f281b789006 (diff) | |
download | u-boot-53cb97c093061b81ab3247c432d15be011353470.zip u-boot-53cb97c093061b81ab3247c432d15be011353470.tar.gz u-boot-53cb97c093061b81ab3247c432d15be011353470.tar.bz2 |
doc: Correct position of gdb '--args' parameter
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 <ascull@google.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/develop/tests_sandbox.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/develop/tests_sandbox.rst b/doc/develop/tests_sandbox.rst index 84608dc..40cf8ec 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. |