Blame SOURCES/gdb-6.3-rh-testversion-20041202.patch

e1d87d
2003-02-24  Elena Zannoni  <ezannoni@redhat.com>
e1d87d
e1d87d
        * gdb.gdb/selftest.exp: Add matching on specific Red Hat only version
e1d87d
        string.
e1d87d
e1d87d
Index: gdb-7.12.50.20170207/gdb/testsuite/gdb.gdb/selftest.exp
e1d87d
===================================================================
e1d87d
--- gdb-7.12.50.20170207.orig/gdb/testsuite/gdb.gdb/selftest.exp	2017-02-07 19:47:06.472874620 +0100
e1d87d
+++ gdb-7.12.50.20170207/gdb/testsuite/gdb.gdb/selftest.exp	2017-02-07 19:48:12.593380575 +0100
e1d87d
@@ -53,6 +53,9 @@
e1d87d
 	-re ".\[0-9\]+ = +.+ +0x.*\[0-9.\]+.*$gdb_prompt $" {
e1d87d
 	    pass "printed version with cast"
e1d87d
 	}
e1d87d
+	-re ".\[0-9\]+ = .(Fedora|Red Hat Enterprise Linux) \[\\(\\)0-9.a-z\\-\]+.*$gdb_prompt $" {
e1d87d
+	    pass "printed version Fedora or Red Hat Enterprise Linux only"
e1d87d
+	}
e1d87d
     }
e1d87d
 
e1d87d
     # start the "xgdb" process