summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild3
-rw-r--r--gdb.pkg/files1
2 files changed, 4 insertions, 0 deletions
diff --git a/build b/build
index c0d8184..53c2e5a 100755
--- a/build
+++ b/build
@@ -43,6 +43,9 @@ install: build
# Make /etc/gdbinit.
mkdir -p dest/etc/gdb
printf '# System-wide GDB initialization file.\n' >dest/etc/gdb/gdbinit
+ # Make /usr/bin/gdbtui.
+ printf '#!/bin/sh\n\nexec "$${0%%tui}" --tui "$${@}"\n' \
+ >dest/usr/bin/gdbtui
oh-fixperms
oh-strip
oh-installfiles
diff --git a/gdb.pkg/files b/gdb.pkg/files
index be3d0e2..dba0c86 100644
--- a/gdb.pkg/files
+++ b/gdb.pkg/files
@@ -1,3 +1,4 @@
/etc/gdb/gdbinit
/usr/bin/gdb
+/usr/bin/gdbtui
/usr/share/gdb/syscalls