Ok, how about this alternate patch that blocks out reloading the .srec, .ihex, and .tekhex parts for 64-bit-only platforms. - Jeff J. 2003-08-22 Jeff Johnston * gdb.base/dump.exp: Don't reload .srec, .ihex, or .tekhex 32-bit formats when testing ia64. Michael Snyder wrote: > J. Johnston wrote: > >> The dump.exp testcase doesn't run on ia64 because a number of the >> output formats >> tested do not handle 64-bit addresses. The following patch causes the >> test >> to be ignored for ia64. I tried unsuccessfully to move the data below >> the >> 32-bit line as is done for the alpha. >> >> Ok to commit? If so, ok for gdb 6.0? > > > You couldn't just make it skip the bits that don't work for 64? > Surely some of it works, say the elf parts? > >> >> -- Jeff J. >> >> 2003-08-22 Jeff Johnston >> >> * gdb.base/dump.exp: Skip for ia64. >> >> >> ------------------------------------------------------------------------ >> >> Index: gdb.base/dump.exp >> =================================================================== >> RCS file: /cvs/src/src/gdb/testsuite/gdb.base/dump.exp,v >> retrieving revision 1.3 >> diff -u -r1.3 dump.exp >> --- gdb.base/dump.exp 2 Jun 2003 15:51:24 -0000 1.3 >> +++ gdb.base/dump.exp 22 Aug 2003 19:45:23 -0000 >> @@ -39,6 +39,11 @@ >> lappend options "additional_flags=-Wl,-taso" >> } >> >> +if [istarget "ia64*-*-*"] then { >> + # SREC etc cannot handle 64-bit addresses. Skip the test >> + return 0; >> +} >> + >> if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" >> executable ${options}] != "" } { >> gdb_suppress_entire_file "Testcase compile failed, so all tests >> in this file will automatically fail." >> } > > > >