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

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