Fix typo.
authordrepper <drepper>
Mon, 20 Jul 1998 17:12:42 +0000 (17:12 +0000)
committerdrepper <drepper>
Mon, 20 Jul 1998 17:12:42 +0000 (17:12 +0000)
debug/catchsegv.sh

index 7be58e4..48c447b 100755 (executable)
@@ -86,7 +86,7 @@ if test $exval -eq 139 && test -f "$segv_output"; then
        [*) addr=`echo $line | sed 's/^\[\(.*\)\]$/\1/'`
           complete=`addr2line -f -e "$prog" $addr 2>/dev/null`
           if test $? -eq 0; then
-             echo "`echo $complete|sed 's/\(.*\) \(.*\)/\2(\1)/;'`$line"
+             echo "`echo "$complete"|sed 'N;s/\(.*\)\n\(.*\)/\2(\1)/;'`$line"
            else
              echo "$line"
            fi