Fix print of value type in a corner case of finish
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / structs.exp
index 927e3b8a8773bae96de99b9a95438220e2a1e3fc..5d94a41c5af2150f32852f6435b09916b26f8c37 100644 (file)
@@ -428,7 +428,7 @@ proc test_struct_returns { n } {
        -re "Value returned is .*${gdb_prompt} $" {
            pass "${test}"
        }
-       -re "Cannot determine contents.*${gdb_prompt} $" {
+       -re "Value returned has type: struct struct$n. Cannot determine contents.*${gdb_prompt} $" {
            # Expected bad value.  For the moment this is ok.
            set finish_value_known 0
            pass "${test}"
This page took 0.027917 seconds and 4 git commands to generate.