To build gdbserver, with following shell script.
Attachment:
build_gdbserver.sh.txt [8.33 KiB]
Downloaded 696 times
Change file name to "build_gdbserver.sh".
Usage of shell script:
Attachment:
readme_gdbserver.txt [1.1 KiB]
Downloaded 800 times
To build gdbserver:
1. With gdbserver.tgz:
Code:
#!/bin/sh
sh -x ./build_gdbserver.sh \
--src-file=`pwd`/gdbserver.tgz \
--use-toolchain-dir=/home/coder/BSPv320/toolchains/nds32le-linux-glibc-v3
2. With "gdb-7.3" folder (un-tar gdbserver.tgz):
Code:
#!/bin/sh
sh -x ./build_gdbserver.sh \
--src-dir=`pwd`/gdb-7.3 \
--use-toolchain-dir=/home/coder/BSPv320/toolchains/nds32le-linux-glibc-v3
The output binary gdbserver are in "install\" folder by default.
===== Fixing =====
Will be fixed in BSPv321.