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

6240d7
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
6240d7
From: Elena Zannoni <ezannoni@redhat.com>
6240d7
Date: Fri, 27 Oct 2017 21:07:50 +0200
6240d7
Subject: gdb-6.3-rh-testversion-20041202.patch
6240d7
6240d7
;; Match the Fedora's version info.
6240d7
;;=fedora
6240d7
6240d7
2003-02-24  Elena Zannoni  <ezannoni@redhat.com>
6240d7
6240d7
        * gdb.gdb/selftest.exp: Add matching on specific Red Hat only version
6240d7
        string.
6240d7
6240d7
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
6240d7
--- a/gdb/testsuite/gdb.gdb/selftest.exp
6240d7
+++ b/gdb/testsuite/gdb.gdb/selftest.exp
6240d7
@@ -53,6 +53,9 @@ proc test_with_self { } {
6240d7
 	-re ".\[0-9\]+ = +.+ +0x.*\[0-9.\]+.*$gdb_prompt $" {
6240d7
 	    pass "printed version with cast"
6240d7
 	}
6240d7
+	-re ".\[0-9\]+ = .(Fedora|Red Hat Enterprise Linux) \[\\(\\)0-9.a-z\\-\]+.*$gdb_prompt $" {
6240d7
+	    pass "printed version Fedora or Red Hat Enterprise Linux only"
6240d7
+	}
6240d7
     }
6240d7
 
6240d7
     # start the "xgdb" process