--- gdb/gdb/testsuite/gdb.gdb/selftest.exp +++ gdb/gdb/testsuite/gdb.gdb/selftest.exp @@ -338,6 +338,9 @@ proc test_with_self { executable } { -re ".\[0-9\]+ = +.+ +0x.*\[0-9.\]+.*$gdb_prompt $" { pass "printed version with cast" } + -re ".\[0-9\]+ = .ALT Linux \[\\(\\)0-9.a-z\\-\]+.*$gdb_prompt $" { + pass "printed version ALT Linux only" + } } do_steps_and_nexts