diff options
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r-- | gdb/testsuite/gdb.python/py-value.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp index 973ee5c..4ae42ad 100644 --- a/gdb/testsuite/gdb.python/py-value.exp +++ b/gdb/testsuite/gdb.python/py-value.exp @@ -123,9 +123,9 @@ proc test_value_numeric_ops {} { # First, obtain the pointers gdb_test "print (void *) 2" "" "" - gdb_test "python a = gdb.history (0)" "" "" + gdb_test_no_output "python a = gdb.history (0)" "" gdb_test "print (void *) 5" "" "" - gdb_test "python b = gdb.history (0)" "" "" + gdb_test_no_output "python b = gdb.history (0)" "" gdb_test "python print 'result = ' + str(a+5)" " = 0x7" "add pointer value with python integer" gdb_test "python print 'result = ' + str(b-2)" " = 0x3" "subtract python integer from pointer value" |