Use add_partial_symbol in load_partial_dies
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / gdb1056.exp
index dd51c97099bf4ab366ad4602b24166fd9bdb62fc..b3e0cf27f2f7ded95cae8047523f65cb98621914 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2003, 2007 Free Software Foundation, Inc.
+# Copyright 2003-2020 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # Test for PR gdb/1056.
 # 2003-10-18  Michael Chastain <mec@shout.net>
 
-if $tracelevel then {
-    strace $tracelevel
-}
-
 # test SIGFPE (such as division by 0) inside gdb itself
 
-set prms_id 0
-set bug_id 0
 
 gdb_start
 
@@ -45,3 +39,5 @@ gdb_test_multiple "print 1/0" "" {
        kfail "gdb/1056" "print 1/0"
     }
 }
+gdb_test "print 1U/0" ".*Division by zero.*" "test unsigned division by zero"
+
This page took 0.029381 seconds and 4 git commands to generate.