Sign in
pigweed
/
third_party
/
github
/
zephyrproject-rtos
/
zephyr
/
1436e44aa684450d90bf391b404da96725ec9f16
/
.
/
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