diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-17 18:49:37 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-17 18:49:37 +0000 |
commit | 1fac167a7619ad8291064db597b1884adfcbdf4a (patch) | |
tree | 23ed0083678d6de258c1cbfb1b373ac84aa30bc8 /gdb/testsuite | |
parent | a78c2d625ffe6bf34934991e815db484d3393a76 (diff) | |
download | gdb-1fac167a7619ad8291064db597b1884adfcbdf4a.zip gdb-1fac167a7619ad8291064db597b1884adfcbdf4a.tar.gz gdb-1fac167a7619ad8291064db597b1884adfcbdf4a.tar.bz2 |
ChangeLog:
* printcmd.c (print_scalar_formatted): Always truncate
unsigned data types.
* cli-dump.c (struct callback_data): Change type of load_offset
to CORE_ADDR.
(restore_binary_file): Update type casts.
(restore_command): Parse load_offset as address, not long.
* utils.c (string_to_core_addr): Do not sign-extend value.
* varobj.c (find_frame_addr_in_frame_chain): Truncate frame_base
before comparing against requested frame address.
testsuite/ChangeLog:
* gdb.base/dump.exp: Handle SPU like 64-bit platforms.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/dump.exp | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 877f527..8f0e218 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + * gdb.base/dump.exp: Handle SPU like 64-bit platforms. + +2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + * gdb.mi/gdb680.exp: Update test for error message. 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> diff --git a/gdb/testsuite/gdb.base/dump.exp b/gdb/testsuite/gdb.base/dump.exp index 4d48e5c..072fcfd 100644 --- a/gdb/testsuite/gdb.base/dump.exp +++ b/gdb/testsuite/gdb.base/dump.exp @@ -42,6 +42,12 @@ if {[istarget "ia64*-*-*"] || [istarget "hppa64-*-*"]} then { set is64bitonly "yes" } +if {[istarget "spu*-*-*"]} then { + # The internal address format used for the combined Cell/B.E. + # debugger requires 64-bit. + set is64bitonly "yes" +} + if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ${options}] != "" } { untested dump.exp return -1 |