mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01: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
@ -103,7 +103,7 @@ running with -D will produce different results.
|
|||||||
|
|
||||||
You can easily use gdb on these tests, without needing --gdbserver::
|
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
|
(gdb) break dm_test_gpio
|
||||||
Breakpoint 1 at 0x1415bd: file test/dm/gpio.c, line 37.
|
Breakpoint 1 at 0x1415bd: file test/dm/gpio.c, line 37.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user