mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
add a helper script to boot kernel gdb session
This commit is contained in:
parent
1c78a339d4
commit
0303b2ec8f
1 changed files with 10 additions and 0 deletions
10
start-gdb.sh
Executable file
10
start-gdb.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
echo "Usage: $0 target"
|
||||
echo "Missing target argument."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
riscv64-unknown-elf-gdb -ex 'set riscv use-compressed-breakpoints off' -ex 'file kernel/target/riscv32imac-unknown-none-elf/release/kernel' -ex "tar rem $1:3333"
|
||||
Loading…
Reference in a new issue