]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.base/miscexprs.exp
2000-04-24 Michael Snyder <msnyder@seadog.cygnus.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / miscexprs.exp
index 97784232c4d0b74de175ef8c57c36d956f54f27f..f7a5fd26a6e476d14e35337252da87b9a4472294 100644 (file)
@@ -258,27 +258,14 @@ gdb_expect {
   }
 
 
-if [istarget "hppa2.0w*-*-*"] then {
-send_gdb "print sizeof(lbig)\n"
+send_gdb "print sizeof(lbig)/sizeof(long)\n"
 gdb_expect {
-    -re ".\[0-9\]* = 7200.*$gdb_prompt $" {
-        pass "print value of sizeof(lbig)"
+    -re ".\[0-9\]* = 900.*$gdb_prompt $" {
+        pass "print value of sizeof(lbig)/sizeof(long)"
       }
-    -re ".*$gdb_prompt $" { fail "print value of sizeof(lbig)" }
-    timeout           { fail "(timeout) print value of sizeof(lbig)" }
+    -re ".*$gdb_prompt $" { fail "print value of sizeof(lbig)/sizeof(long)" }
+    timeout     { fail "(timeout) print value of sizeof(lbig)/sizeof(long)" }
   }
-}
-
-if ![istarget "hppa2.0w*-*-*"] then {
-send_gdb "print sizeof(lbig)\n"
-gdb_expect {
-    -re ".\[0-9\]* = 3600.*$gdb_prompt $" {
-        pass "print value of sizeof(lbig)"
-      }
-    -re ".*$gdb_prompt $" { fail "print value of sizeof(lbig)" }
-    timeout           { fail "(timeout) print value of sizeof(lbig)" }
-  }
-}
 
 send_gdb "print ibig.i\[100\] << 2\n"
 gdb_expect {