git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ecb3b32
)
Initial untested version.
author
lace
<>
Thu, 28 Jun 2007 07:54:50 +0000
(07:54 +0000)
committer
lace
<>
Thu, 28 Jun 2007 07:54:50 +0000
(07:54 +0000)
src/gdb-wrap
[new file with mode: 0755]
patch
|
blob
diff --git a/src/gdb-wrap
b/src/gdb-wrap
new file mode 100755
(executable)
index 0000000..
71a5a0f
--- /dev/null
+++ b/
src/gdb-wrap
@@ -0,0
+1,14
@@
+#! /bin/sh
+# $Id$
+
+DIR=/tmp/gdb.d
+mkdir -p $DIR
+i=0
+while true;do
+ FILE=DIR/`printf %02d $i`
+ if ! test -f $FILE;then
+ break
+ fi
+ i=$[$i+1]
+done
+exec strace -s200 -o $FILE -q "$0"-orig "$@"