mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-13 03:14:37 +08:00
* 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.
This commit is contained in:
@ -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>
|
2008-11-27 Jerome Guitton <guitton@adacore.com>
|
||||||
|
|
||||||
* gdb.cp/formatted-ref.exp: Add equality test.
|
* gdb.cp/formatted-ref.exp: Add equality test.
|
||||||
|
@ -37,9 +37,9 @@ gdb_load ${binfile}
|
|||||||
set bp_location [gdb_get_line_number "Pck.Watch" ${testdir}/foo.adb]
|
set bp_location [gdb_get_line_number "Pck.Watch" ${testdir}/foo.adb]
|
||||||
runto "foo.adb:$bp_location"
|
runto "foo.adb:$bp_location"
|
||||||
|
|
||||||
gdb_test "print *integer(watch'address)" \
|
gdb_test "print *long_integer(watch'address)" \
|
||||||
" = 4874"
|
" = 4874"
|
||||||
|
|
||||||
gdb_test "print integer(watch'address).all" \
|
gdb_test "print long_integer(watch'address).all" \
|
||||||
" = 4874"
|
" = 4874"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user