Skip to content

Commit 816bb91

Browse files
committed
add pthreads, psyscall
1 parent e3a8406 commit 816bb91

File tree

4 files changed

+446
-11
lines changed

4 files changed

+446
-11
lines changed

scripts/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ install(
77
core-bt-batch
88
core-save-to
99
pthreads
10+
psyscall
1011
PERMISSIONS
1112
OWNER_READ OWNER_WRITE OWNER_EXECUTE
1213
GROUP_READ GROUP_EXECUTE

scripts/core-bt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
if [[ ( $# -gt 2 ) || ( $# -eq 0 ) ]]
44
then
5-
echo "$0 [executable] <core file>"
5+
>&2 echo "$0 [executable] <core file>"
66
exit 1
77
fi
88

@@ -14,7 +14,7 @@ corefile=
1414

1515
if [[ ! -f $corefile ]]
1616
then
17-
echo "$corefile: No such file"
17+
>&2 echo "$corefile: No such file"
1818
exit 1
1919
fi
2020

@@ -26,7 +26,7 @@ then
2626
# try to find it in the core file dir
2727
if [[ ! -f $coredir/$(basename $execname) ]]
2828
then
29-
echo "$execname: No such file"
29+
>&2 echo "$execname: No such file"
3030
exit 1
3131
else
3232
execname=$coredir/$(basename $execname)

0 commit comments

Comments
 (0)