occlum/demos/gdb_support/build_sample_with_symbols.sh
LI Qing bd56504b20 Add GDB support for apps running upon Occlum
Please see the "gdb_support" in demos to find out how to
use GDB to debug your apps running upon Occlum.
2020-02-14 07:52:45 +00:00

6 lines
67 B
Bash
Executable File

#!/bin/bash
set -e
rm -rf sample
occlum-gcc -g sample.c -o sample