2013-07-01 Luis Machado * gdb.base/dump.exp: Don't run SREC, IHEX and TEKHEX dump tests for mips N64 ABI. Index: gdb/testsuite/gdb.base/dump.exp =================================================================== --- gdb/testsuite/gdb.base/dump.exp (revision 415809) +++ gdb/testsuite/gdb.base/dump.exp (working copy) @@ -58,6 +58,17 @@ gdb_load ${binfile} +# Since SREC, IHEX and TEKHEX cannot handle 64-bit addresses for +# MIPS64, stop testing if we have a 64-bit MIPS program. +if {[istarget "mips*-*-*"]} then { + send_gdb "show mips abi\n" + gdb_expect { + -re ".*n64.*$gdb_prompt $" { + set is64bitonly "yes" + } + } +} + # Clean up any stale output files from previous test runs remote_exec build "rm -f intarr1.bin intarr1b.bin intarr1.ihex intarr1.srec intarr1.tekhex intarr2.bin intarr2b.bin intarr2.ihex intarr2.srec intarr2.tekhex intstr1.bin intstr1b.bin intstr1.ihex intstr1.srec intstr1.tekhex intstr2.bin intstr2b.bin intstr2.ihex intstr2.srec intstr2.tekhex intarr3.srec"