]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.base/break-probes.exp
Stop assuming no-debug-info functions return int
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / break-probes.exp
index 929509a015dca65946a6e08a4967860873867fbf..318a21993e0633fa4fe6e9a68435091edf553003 100644 (file)
@@ -86,5 +86,5 @@ if { $using_probes } {
     }
 
     # Call something to ensure that relocation occurred
-    gdb_test "call foo(23)" "\\\$.* = 31.*\\\M.*"
+    gdb_test "call (int) foo(23)" "\\\$.* = 31.*\\\M.*"
 }