]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
board/csky: fixup gdb instructions in readme.txt
authorGuo Ren <ren_guo@c-sky.com>
Thu, 23 Mar 2017 10:46:14 +0000 (18:46 +0800)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 23 Mar 2017 17:25:06 +0000 (18:25 +0100)
The gdbinit file assumes the .dtb file is in the current directory, so
let's start gdb from output/images.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
[Thomas: improved commit description.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
board/csky/readme.txt

index a820e3b79aca939d06b127eb753b0c4bc18ca64b..daf7185910a68e19253624d1b962ff52f0d5c828 100644 (file)
@@ -83,5 +83,6 @@ Run
 
   Setup the Console with the rate 115200/8-N-1.
 
-  $ ./output/host/usr/bin/csky-linux-gdb -x board/csky/gx6605s/gdbinit output/images/vmlinux
+  $ cd output/images
+  $ ../host/usr/bin/csky-linux-gdb -x ../../board/csky/gx6605s/gdbinit vmlinux