summaryrefslogtreecommitdiffstats
path: root/rungdb
diff options
context:
space:
mode:
authorWe-unite <3205135446@qq.com>2025-01-23 10:41:10 +0800
committerWe-unite <3205135446@qq.com>2025-01-23 10:41:10 +0800
commite6f77b7ea3e38c9853bee60b275f3f89d252a5b3 (patch)
tree80bfbabed9d4cbcf9fa62677f78b34279d7e2f87 /rungdb
downloadlinux-0.11-master.tar.gz
linux-0.11-master.zip
Initial commit, makee it usable on newest linuxHEADmaster
Diffstat (limited to 'rungdb')
-rwxr-xr-xrungdb13
1 files changed, 13 insertions, 0 deletions
diff --git a/rungdb b/rungdb
new file mode 100755
index 0000000..c23e783
--- /dev/null
+++ b/rungdb
@@ -0,0 +1,13 @@
1#!/bin/sh
2
3export OSLAB_PATH=$(dirname `which $0`)
4
5if [ ! -e "$OSLAB_PATH/hdc/umounted" ]; then
6 echo umount hdc first
7 sudo umount $OSLAB_PATH/hdc
8 if [ "$?" != "0" ]; then
9 exit
10 fi
11fi
12
13gdb -x $OSLAB_PATH/gdb-cmd.txt $OSLAB_PATH/src/tools/system