Sign in
pigweed
/
third_party
/
github
/
zephyrproject-rtos
/
zephyr
/
0114214793206217409438817f4a1da84201a9bb
/
.
/
scripts
/
support
/
xt-gdb.sh
blob: ab78eb128c38d9a3e74a52bddafbfc80984e9153 [
file
] [
log
] [
blame
]
#!/bin/bash
XT_GDB
=
$XTENSA_TOOLS_PATH
/
bin
/
xt
-
gdb
ELF_NAME
=
$
{
O
}/
$
{
KERNEL_ELF_NAME
}
set
-
e
do_debug
()
{
$
{
XT_GDB
}
$
{
ELF_NAME
}
}
CMD
=
"$1"
shift
case
"${CMD}"
in
debug
)
do_debug
"$@"
;;
*)
echo
"${CMD} not supported"
exit
1
;;
esac