* gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
if arguments are not supported.
This commit is contained in:
parent
493f3c00fe
commit
70362913a3
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
|
||||
if arguments are not supported.
|
||||
|
||||
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
|
||||
|
|
|
@ -227,7 +227,9 @@ proc test_value_in_inferior {} {
|
|||
gdb_py_test_silent_cmd "python arg0 = argv.dereference ()" "dereference value" 1
|
||||
|
||||
# Check that the dereferenced value is sane
|
||||
gdb_test "python print arg0" "0x.*$testfile\"" "verify dereferenced value"
|
||||
if { ! [target_info exists noargs] } {
|
||||
gdb_test "python print arg0" "0x.*$testfile\"" "verify dereferenced value"
|
||||
}
|
||||
|
||||
# Smoke-test is_optimized_out attribute
|
||||
gdb_test "python print 'result =', arg0.is_optimized_out" "= False" "Test is_optimized_out attribute"
|
||||
|
|
Loading…
Reference in a new issue