diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-08-27 14:31:46 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-08-27 14:31:46 +0000 |
commit | 36acd84edc67e88603075300e443033f5c29b5b4 (patch) | |
tree | bf04633bd1d29a3b6bc611a831641a4a498dc2c8 /gdb/testsuite | |
parent | c3879370e906dcb887ac90e1c146775cfb5a5983 (diff) | |
download | gdb-36acd84edc67e88603075300e443033f5c29b5b4.zip gdb-36acd84edc67e88603075300e443033f5c29b5b4.tar.gz gdb-36acd84edc67e88603075300e443033f5c29b5b4.tar.bz2 |
ChangeLog gdb/:
* spu-tdep.c (spu_pointer_to_address): New function.
(spu_integer_to_address): Likewise.
(spu_gdbarch_init): Add spu_pointer_to_address and
spu_integer_to_address to gdbarch.
ChangeLog gdb/testsuite/:
* gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
to fit into SPU Local Store memory.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/cp-relocate.exp | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a90b009..54d4776 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-08-27 Markus Deuling <deuling@de.ibm.com> + + * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses + to fit into SPU Local Store memory. + 2007-08-23 Joel Brobecker <brobecker@adacore.com> * gdb.base/default.exp: Adjust the expected output of "info diff --git a/gdb/testsuite/gdb.cp/cp-relocate.exp b/gdb/testsuite/gdb.cp/cp-relocate.exp index cde3dd6..3d31ad0 100644 --- a/gdb/testsuite/gdb.cp/cp-relocate.exp +++ b/gdb/testsuite/gdb.cp/cp-relocate.exp @@ -123,7 +123,7 @@ gdb_exit gdb_start gdb_reinitialize_dir $srcdir/$subdir -gdb_test "add-symbol-file ${binfile} 0 -s ${func1_sec} 0x40000 -s ${func2_sec} 0x80000" \ +gdb_test "add-symbol-file ${binfile} 0 -s ${func1_sec} 0x10000 -s ${func2_sec} 0x20000" \ "Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\.(|\r\nUsing host libthread_db library .*libthread_db.so.*\\.)" \ "add-symbol-file ${testfile}.o" \ "add symbol table from file \".*${testfile}\\.o\" at.*\\(y or n\\) " \ @@ -131,6 +131,6 @@ gdb_test "add-symbol-file ${binfile} 0 -s ${func1_sec} 0x40000 -s ${func2_sec} 0 # Make sure the function addresses were updated. gdb_test "break *'$func1_name'" \ - "Breakpoint $decimal at 0x4....: file .*" + "Breakpoint $decimal at 0x1....: file .*" gdb_test "break *'$func2_name'" \ - "Breakpoint $decimal at 0x8....: file .*" + "Breakpoint $decimal at 0x2....: file .*" |