Branch: Tag:

2001-08-14

2001-08-14 09:45:00 by Stefan Wallström <stewa@roxen.com>

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