X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.base%2Fgdb1056.exp;h=b3e0cf27f2f7ded95cae8047523f65cb98621914;hb=f0fbb768c223fd65385e2e2380fd04fde7121e5e;hp=dd51c97099bf4ab366ad4602b24166fd9bdb62fc;hpb=e22f8b7c8c951ea8f15f9c7ef046243d05a0dbff;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.base/gdb1056.exp b/gdb/testsuite/gdb.base/gdb1056.exp index dd51c97099..b3e0cf27f2 100644 --- a/gdb/testsuite/gdb.base/gdb1056.exp +++ b/gdb/testsuite/gdb.base/gdb1056.exp @@ -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 @@ -16,14 +16,8 @@ # Test for PR gdb/1056. # 2003-10-18 Michael Chastain -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" +