Sign in
pigweed
/
third_party
/
github
/
zephyrproject-rtos
/
zephyr
/
bee6f9e73e6d494c0c67764d67d2ac30bc820c23
/
.
/
scripts
/
support
/
xt-gdb.sh
blob: edd8f0f48384008270e3a9b9e594ba69777f9927 [
file
] [
log
] [
blame
]
#!/bin/bash
XT_GDB
=
$XCC_TOOLS
/
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