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

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