qemu on background for debug

This commit is contained in:
Ciro Santilli
2017-05-21 09:26:47 +01:00
parent bbb5f602d3
commit 710e42e80f
3 changed files with 43 additions and 15 deletions

2
rungdb
View File

@@ -6,6 +6,7 @@ else
fi
cd buildroot/output/build/linux-*.*.*/
cmd="gdb \
-q \
-ex 'add-auto-load-safe-path $(pwd)' \
-ex 'file vmlinux' \
-ex 'set arch i386:x86-64:intel' \
@@ -16,5 +17,4 @@ cmd="gdb \
-ex 'set arch i386:x86-64' \
-ex 'target remote localhost:1234'
"
echo "$cmd"
eval "$cmd"