A script for running the debugger. Also, some debugger settings

This commit is contained in:
2017-10-23 22:58:18 +02:00
parent 6919f9c8ed
commit 82a8676056
3 changed files with 29 additions and 1 deletions

12
toolchain/dbg Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh -e
if [ -z ${MITTOS64+x} ]; then
echo -en "\033[31mWarning: \033[0m"
echo "It seems you are trying to build mittos64 in an unsuported environment."
echo "This makefile is designed to run inside a mittos64-specific docker container."
echo "If you know what you're doing, define the environment variable "MITTOS64""
echo "See README.md for more information"
exit 1
fi
gdb -q -x /opt/toolchain/gdbinit