OSDN Git Service

* gdb.base/randomize.exp: Catch non-Linux targets as untested.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 13 Jul 2008 14:56:02 +0000 (14:56 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 13 Jul 2008 14:56:02 +0000 (14:56 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/randomize.exp

index d5989a7..4aacf9b 100644 (file)
@@ -1,3 +1,7 @@
+2008-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/randomize.exp: Catch non-Linux targets as untested.
+
 2008-07-12  Vladimir Prus  <vladimir@codesourcery.com>
 
        * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
index 9cbdd7b..3ee9476 100644 (file)
@@ -51,7 +51,11 @@ proc address_get { testname } {
 set test "set disable-randomization off"
 gdb_test_multiple "${test}" "${test}" {
     -re "Disabling randomization .* unsupported .*$gdb_prompt $" {
-       untested "No randomization supported by this GDB"
+       untested "Disabling randomization is not supported on this Linux GDB"
+       return -1
+    }
+    -re "No symbol .* in current context.*$gdb_prompt $" {
+       untested "Disabling randomization is not supported on this GDB platform"
        return -1
     }
     -re "$gdb_prompt $" {