Update gdb.ada/variant_record_packed_array
gdb/testsuite/ChangeLog: * gdb.ada/variant_record_packed_array.exp: Test expressions of the form {VARIANT_TYPE}ADDRESS.
This commit is contained in:
parent
ca1f964d4b
commit
c2d3fccf65
|
@ -1,3 +1,8 @@
|
|||
2012-11-29 Jerome Guitton <guitton@adacore.com>
|
||||
|
||||
* gdb.ada/variant_record_packed_array.exp: Test expressions of the
|
||||
form {VARIANT_TYPE}ADDRESS.
|
||||
|
||||
2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
|
||||
|
|
|
@ -30,3 +30,10 @@ gdb_test "print my_buffer" \
|
|||
"= \\(size => 8, buffer => \\(1, 2, 3, 4, 5, 6, 7, 0\\), length => 8\\)" \
|
||||
"print empty"
|
||||
|
||||
gdb_test "print my_buffer'Address" \
|
||||
"= \\(system\\.address\\) $hex" \
|
||||
"print address"
|
||||
|
||||
gdb_test "print {foo.octal_buffer} ($)" \
|
||||
"= \\(size => 8, buffer => \\(1, 2, 3, 4, 5, 6, 7, 0\\), length => 8\\)" \
|
||||
"print adress content"
|
||||
|
|
Loading…
Reference in New Issue