+# Now try a find starting from each global.
+gdb_test "find global_var_1, (global_var_2 + 16), 0xff" \
+ "warning: Unable to access $decimal bytes of target memory at $hex, halting search.\r\nPattern not found."
+
+gdb_test "find global_var_2, (global_var_2 + 16), 0xff" \
+ "warning: Unable to access $decimal bytes of target memory at $hex, halting search.\r\nPattern not found."
+
+gdb_test "find global_var_0, (global_var_2 + 16), 0xff" \
+ "warning: Unable to access $decimal bytes of target memory at $hex, halting search.\r\nPattern not found."