diff options
author | Daniel Jacobowitz <drow@false.org> | 2010-03-24 21:28:14 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2010-03-24 21:28:14 +0000 |
commit | 293e2f9ec5c6d0bf16db402c8f2d955b51299a6c (patch) | |
tree | b577ebc9780181827e8c024a80c974c00d4291d1 /gdb/testsuite/gdb.base/printcmds.exp | |
parent | gdb (diff) | |
download | binutils-gdb-293e2f9ec5c6d0bf16db402c8f2d955b51299a6c.tar.gz binutils-gdb-293e2f9ec5c6d0bf16db402c8f2d955b51299a6c.tar.bz2 binutils-gdb-293e2f9ec5c6d0bf16db402c8f2d955b51299a6c.zip |
* gdb.base/completion.exp: Allow long instead of long int.
* gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
* gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
variable p.
* gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
* gdb.base/pointers.exp: Allow long instead of long int.
* gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
* gdb.base/step-line.exp: Allow a directory before the source file name.
Diffstat (limited to 'gdb/testsuite/gdb.base/printcmds.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/printcmds.exp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/printcmds.exp b/gdb/testsuite/gdb.base/printcmds.exp index ba1c3d790c9..6dd28a7b1b9 100644 --- a/gdb/testsuite/gdb.base/printcmds.exp +++ b/gdb/testsuite/gdb.base/printcmds.exp @@ -36,6 +36,8 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb return -1 } +get_compiler_info ${binfile} + # Set the current language to C. This counts as a test. If it # fails, then we skip the other tests. @@ -777,6 +779,12 @@ gdb_test "set print address off" "" gdb_test "set width 0" "" if [set_lang_c] then { + if { [test_compiler_info "armcc-*"] } { + # ARM RealView compresses large arrays in the data segment. + # Before the program starts, we can not read them. There is + # nothing in the file to indicate that data is compressed. + setup_xfail "arm*-*-eabi" + } gdb_test "p ctable1\[120\]" "120 'x'" "p ctable1\[120\] #1" gdb_load ${binfile} |