diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/whatis-exp.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/whatis-exp.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/whatis-exp.exp b/gdb/testsuite/gdb.base/whatis-exp.exp index 51b0e92..1ad5e5a 100644 --- a/gdb/testsuite/gdb.base/whatis-exp.exp +++ b/gdb/testsuite/gdb.base/whatis-exp.exp @@ -112,7 +112,7 @@ gdb_expect { send_gdb "whatis x+y\n" gdb_expect { - -re ".*type = long.*$gdb_prompt $" { + -re ".*type = int.*$gdb_prompt $" { pass "whatis value of x+y" } -re ".*$gdb_prompt $" { fail "whatis value of x+y" } @@ -121,7 +121,7 @@ gdb_expect { send_gdb "whatis x-y\n" gdb_expect { - -re ".*type = long.*$gdb_prompt $" { + -re ".*type = int.*$gdb_prompt $" { pass "whatis value of x-y" } -re ".*$gdb_prompt $" { fail "whatis value of x-y" } @@ -130,7 +130,7 @@ gdb_expect { send_gdb "whatis x*y\n" gdb_expect { - -re ".*type = long.*$gdb_prompt $" { + -re ".*type = int.*$gdb_prompt $" { pass "whatis value of x*y" } -re ".*$gdb_prompt $" { fail "whatis value of x*y" } |