2018-03-09 16:46:37 +00:00
|
|
|
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
|
|
|
|
From: Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
Date: Fri, 27 Oct 2017 21:07:50 +0200
|
|
|
|
Subject: gdb.gdb/selftest.exp: Add matching on specific Red Hat only version
|
|
|
|
string
|
|
|
|
|
|
|
|
FileName: gdb-6.3-rh-testversion-20041202.patch
|
|
|
|
|
|
|
|
;; Match the Fedora's version info.
|
|
|
|
;;=fedora
|
|
|
|
|
2009-05-04 16:53:01 +00:00
|
|
|
2003-02-24 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
* gdb.gdb/selftest.exp: Add matching on specific Red Hat only version
|
|
|
|
string.
|
2018-03-09 16:46:37 +00:00
|
|
|
---
|
|
|
|
gdb/testsuite/gdb.gdb/selftest.exp | 3 +++
|
|
|
|
1 file changed, 3 insertions(+)
|
2009-05-04 16:53:01 +00:00
|
|
|
|
2018-03-09 16:46:37 +00:00
|
|
|
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
|
|
|
|
index 20f34983ef..4108e088a9 100644
|
|
|
|
--- a/gdb/testsuite/gdb.gdb/selftest.exp
|
|
|
|
+++ b/gdb/testsuite/gdb.gdb/selftest.exp
|
|
|
|
@@ -53,6 +53,9 @@ proc test_with_self { } {
|
2009-05-04 16:53:01 +00:00
|
|
|
-re ".\[0-9\]+ = +.+ +0x.*\[0-9.\]+.*$gdb_prompt $" {
|
|
|
|
pass "printed version with cast"
|
|
|
|
}
|
2010-03-12 00:40:02 +00:00
|
|
|
+ -re ".\[0-9\]+ = .(Fedora|Red Hat Enterprise Linux) \[\\(\\)0-9.a-z\\-\]+.*$gdb_prompt $" {
|
|
|
|
+ pass "printed version Fedora or Red Hat Enterprise Linux only"
|
2009-05-04 16:53:01 +00:00
|
|
|
+ }
|
|
|
|
}
|
2010-09-06 11:08:41 +00:00
|
|
|
|
2017-05-01 01:04:39 +00:00
|
|
|
# start the "xgdb" process
|
2018-03-09 16:46:37 +00:00
|
|
|
--
|
|
|
|
2.14.3
|
|
|
|
|