Use buildroot host gdb, consider QEMU and target GDB but give up for now

This commit is contained in:
Ciro Santilli
2017-05-21 10:22:31 +01:00
parent 710e42e80f
commit be9f56cc9b
4 changed files with 37 additions and 1 deletions

3
rungdb
View File

@@ -4,8 +4,9 @@ if [ "$#" -gt 0 ]; then
else
brk=""
fi
gdb="$(pwd)/buildroot/output/host/usr/bin/x86_64-linux-gdb"
cd buildroot/output/build/linux-*.*.*/
cmd="gdb \
cmd="$gdb \
-q \
-ex 'add-auto-load-safe-path $(pwd)' \
-ex 'file vmlinux' \