-# Copyright 2013-2014 Free Software Foundation, Inc.
+# Copyright 2013-2019 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
if {[runto_main]} {
if {$testname == "mismatch"} {
gdb_test "print the_int" \
- "No symbol table is loaded.*"
+ "(No symbol table is loaded|No symbol \"the_int\" in current context).*"
} else {
gdb_test "print the_int" " = 99"
}