]> Git Repo - binutils.git/blobdiff - gdb/testsuite/gdb.base/selftest.exp
import gdb-1999-09-08 snapshot
[binutils.git] / gdb / testsuite / gdb.base / selftest.exp
index c0d17c815ec153ad0905266a6fc134c810993f7a..72a086e63b14235b555483369907588e385d091f 100644 (file)
@@ -254,8 +254,11 @@ proc test_with_self { executable } {
     # do we have a version number ?
     send_gdb "print version\n"
     gdb_expect {
+       -re ".\[0-9\]+ = .\[0-9.\]+.*$gdb_prompt $" {
+           pass "printed version as string"
+       }
        -re ".\[0-9\]+ = +0x.*\[0-9.\]+.*$gdb_prompt $" {
-           pass "printed version"
+           pass "printed version as pointer"
        }
        -re ".\[0-9\]+ = +.+ +0x.*\[0-9.\]+.*$gdb_prompt $" {
            pass "printed version with cast"
This page took 0.02476 seconds and 4 git commands to generate.