Roxen.git/
server/
start
Branch:
Tag:
Non-build tags
All tags
No tags
2001-08-14
2001-08-14 09:45:00 by Stefan Wallström <stewa@roxen.com>
1ccca76678881e7a6f9f28d950082ee7bd98a788 (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
5.2
Make GDB ignore those thread related signals for Linux.
Rev: server/start:1.179
1:
#!/bin/sh #
-
# $Id: start,v 1.
178
2001/08/
13
22
:
50
:
18
mast
Exp $
+
# $Id: start,v 1.
179
2001/08/
14
09
:
45
:
00
stewa
Exp $
### If --silent-start is given as the first argument, ### nothing will be printed to stdout by the script.
683:
echo >>.gdbinit handle SIGUSR1 nostop noprint pass echo >>.gdbinit handle SIGUSR2 nostop noprint pass echo >>.gdbinit handle SIGLWP nostop noprint pass
+
if uname | grep 'Linux' >/dev/null 2>&1; then
+
echo >>.gdbinit handle SIG38 nostop noprint pass
+
echo >>.gdbinit handle SIG39 nostop noprint pass
+
fi
firstline=`head -1 "$pike" 2>/dev/null` if expr "x$firstline" : 'x#! */.*' >/dev/null; then # Looks like a script. gdb will not grok it, so we try passing