2004-12-02 15:42:08 +00:00
|
|
|
2003-02-24 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
* gdb.gdb/selftest.exp: Add matching on specific Red Hat only version
|
|
|
|
string.
|
|
|
|
|
2017-02-27 21:30:32 +00:00
|
|
|
Index: gdb-7.12.50.20170207/gdb/testsuite/gdb.gdb/selftest.exp
|
2008-07-14 09:09:04 +00:00
|
|
|
===================================================================
|
2017-02-27 21:30:32 +00:00
|
|
|
--- gdb-7.12.50.20170207.orig/gdb/testsuite/gdb.gdb/selftest.exp 2017-02-07 19:47:06.472874620 +0100
|
|
|
|
+++ gdb-7.12.50.20170207/gdb/testsuite/gdb.gdb/selftest.exp 2017-02-07 19:48:12.593380575 +0100
|
|
|
|
@@ -53,6 +53,9 @@
|
2004-12-02 15:42:08 +00:00
|
|
|
-re ".\[0-9\]+ = +.+ +0x.*\[0-9.\]+.*$gdb_prompt $" {
|
|
|
|
pass "printed version with cast"
|
|
|
|
}
|
2010-01-12 22:15:57 +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"
|
2004-12-02 15:42:08 +00:00
|
|
|
+ }
|
|
|
|
}
|
2010-07-21 21:30:20 +00:00
|
|
|
|
2017-02-27 21:30:32 +00:00
|
|
|
# start the "xgdb" process
|