summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-10-11 16:22:17 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-10-11 16:22:17 (EDT)
commit4ef35d02ce46ee978eec899b2b5146c16344b6ce (patch)
tree46eadc990a6496377eba365cc092e388815b0409 /build
parent13d65995b3a17ba15ee95f7ecf4a510ea8f2bed6 (diff)
gdb: Provide gcore.
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/build b/build
index 53c2e5a..3e80050 100755
--- a/build
+++ b/build
@@ -43,6 +43,8 @@ install: build
# Make /etc/gdbinit.
mkdir -p dest/etc/gdb
printf '# System-wide GDB initialization file.\n' >dest/etc/gdb/gdbinit
+ # Install gcore.
+ cp src/gdb/gdb_gcore.sh dest/usr/bin/gcore
# Make /usr/bin/gdbtui.
printf '#!/bin/sh\n\nexec "$${0%%tui}" --tui "$${@}"\n' \
>dest/usr/bin/gdbtui