diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-11-28 23:26:54 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-11-28 23:26:54 +0000 |
commit | 67f0aac52ac821c798133c50067ee7ba9ef7fd1c (patch) | |
tree | 57ae63649a779040c39afbbe5220e536c17dc805 | |
parent | 8d90eea3144dbab4cf39115c936f249460498836 (diff) | |
download | gdb-67f0aac52ac821c798133c50067ee7ba9ef7fd1c.zip gdb-67f0aac52ac821c798133c50067ee7ba9ef7fd1c.tar.gz gdb-67f0aac52ac821c798133c50067ee7ba9ef7fd1c.tar.bz2 |
* gdb.ada/int_deref.exp: Convert the addresses into long_integer
rather than integer, as integer might not be big enough when
on 64bit targets.
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/int_deref.exp | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ba11df1..ba8a240 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-11-28 Joel Brobecker <brobecker@adacore.com> + + * gdb.ada/int_deref.exp: Convert the addresses into long_integer + rather than integer, as integer might not be big enough when + on 64bit targets. + 2008-11-27 Jerome Guitton <guitton@adacore.com> * gdb.cp/formatted-ref.exp: Add equality test. diff --git a/gdb/testsuite/gdb.ada/int_deref.exp b/gdb/testsuite/gdb.ada/int_deref.exp index f0bba3a..1becdb1 100644 --- a/gdb/testsuite/gdb.ada/int_deref.exp +++ b/gdb/testsuite/gdb.ada/int_deref.exp @@ -37,9 +37,9 @@ gdb_load ${binfile} set bp_location [gdb_get_line_number "Pck.Watch" ${testdir}/foo.adb] runto "foo.adb:$bp_location" -gdb_test "print *integer(watch'address)" \ +gdb_test "print *long_integer(watch'address)" \ " = 4874" -gdb_test "print integer(watch'address).all" \ +gdb_test "print long_integer(watch'address).all" \ " = 4874" |