Ulrich Weigand schrieb: > Can we change the test to either use a pre-existing file (/dev/zero ?), or else > move allocating/deleting the file to the DejaGnu script instead and pass the > file name to the test case? That way we can probably more easily adapt to > local vs. cross debugging, and make sure the file is deleted in every case > (even if debugging crashes). The testcase now defines (and deletes after usage) a temporary file which is given to the SPU binary as command line argument. If the SPU binary doesn't receive a command line argument it falls back to the default file in /var/tmp. Ok ? ChangeLog: * gdb.arch/spu-info.exp (tmp_file): Introduce temporary file and set it as command line argument for test binary. Delete after usage. * gdb.arch/spu-info.c (main): Receive command line arguments. (do_dma_test): Add file paramater. Regards, Markus -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com