Skip to content

Commit 3e22163

Browse files
committed
Init debugger
1 parent ac3601c commit 3e22163

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tools/cbdebug.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22
port=${1:-20600}
33
gdb-multiarch \
44
-ex "source /opt/codebang/bin/cbextension.py" \
5-
-ex "target extended-remote localhost:$port"
5+
-ex "target extended-remote localhost:$port" \
6+
-ex "set debug aarch64 on" \
7+
-ex "set substitute-path /build/cross-toolchain-base-vwSSmv/cross-toolchain-base-43ubuntu3.1 /opt/codebang/build" \
8+
-ex "set sysroot /usr/aarch64-linux-gnu"

0 commit comments

Comments
 (0)