mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
e95afa5675
commit
53cb97c093
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue