]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-6.6-bz229517-gcore-without-terminal.patch
redhat patchset merged, pld patchset updated.
[packages/gdb.git] / gdb-6.6-bz229517-gcore-without-terminal.patch
index de34ed594e82673c16cae446494548d8a455e8bd..c2d01806e6d1351e8137e2286ac1c6d943d1420a 100644 (file)
@@ -7,19 +7,6 @@
        * gdb.base/gcorebg.exp, gdb.base/gcorebg.c: New files.
 
 
---- gdb-6.6-orig/gdb/gdb_gcore.sh      2005-12-17 17:33:59.000000000 -0500
-+++ gdb-6.6/gdb/gdb_gcore.sh   2007-04-22 05:42:50.000000000 -0400
-@@ -71,7 +71,9 @@
- quit
- EOF
--      gdb -x $tmpfile -batch
-+      # `</dev/null' to avoid touching interactive terminal if it is
-+      # available but not accessible (SIGTTIN risk)
-+      gdb -x $tmpfile -batch </dev/null
-       if [ -r $name.$pid ] ; then 
-           rc=0
 --- /dev/null  1 Jan 1970 00:00:00 -0000
 +++ ./gdb/testsuite/gdb.base/gcorebg.c 25 Feb 2007 12:21:20 -0000
 @@ -0,0 +1,43 @@
@@ -68,7 +55,7 @@
 +}
 --- /dev/null  1 Jan 1970 00:00:00 -0000
 +++ ./gdb/testsuite/gdb.base/gcorebg.exp       25 Feb 2007 12:21:20 -0000
-@@ -0,0 +1,120 @@
+@@ -0,0 +1,113 @@
 +# Copyright 2007 Free Software Foundation, Inc.
 +
 +# This program is free software; you can redistribute it and/or modify
 +# It also tests a regression with `gdb_gcore.sh' being run without its
 +# accessible terminal.
 +
-+if $tracelevel then {
-+      strace $tracelevel
-+}
-+
-+set prms_id 0
-+set bug_id 0
-+
 +if ![info exists GCORE] {
 +    set GCORE "${srcdir}/../gdb_gcore.sh"
 +}
This page took 0.177196 seconds and 4 git commands to generate.