summaryrefslogtreecommitdiff
path: root/run_gdb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run_gdb.sh')
-rwxr-xr-xrun_gdb.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/run_gdb.sh b/run_gdb.sh
new file mode 100755
index 0000000..337607c
--- /dev/null
+++ b/run_gdb.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# This is a special .sh file for Maemo
+# All user data is stored in the home directory because we can't set a suid bit in Nethack and
+# we want backups to be made from the nethack data.
+
+HACKDIR=~/.nethackdir
+export HACKDIR
+run-standalone.sh gdb --args ./nethack-3.4.3/src/nethack