diff options
author | Tom Tromey <tromey@redhat.com> | 2013-08-22 13:44:16 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-08-22 13:44:16 +0000 |
commit | 44ee81740e186301bc8442096db49bd77117b7a5 (patch) | |
tree | 636d0a7a7bf18a61da5a88e9cee0678ac12d8fc0 /gdb/testsuite/gdb.cp/ref-params.exp | |
parent | 7a218f88658c03a85051a8b6d1aac59541e697ff (diff) | |
download | ppe42-binutils-44ee81740e186301bc8442096db49bd77117b7a5.tar.gz ppe42-binutils-44ee81740e186301bc8442096db49bd77117b7a5.zip |
introduce gdb_remote_download and finish parallel fixes in gdb.dwarf2
This finishes making gdb.dwarf2 parallel-safe.
To do this, this patch introduces a new gdb_remote_download proc, that
works somewhat differently in the one specific case where it matters:
for a copy to "host", if no destination was given, and the host is not
actually remote, then standard_output_file is used. In parallel mode
this guarantees that the resulting file will end up in a parallel-safe
location.
Tested on x86-64 Fedora 18.
* gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
* gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
* gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
* gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
* gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
* gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
* lib/gdb.exp (gdb_remote_download): New proc.
Diffstat (limited to 'gdb/testsuite/gdb.cp/ref-params.exp')
0 files changed, 0 insertions, 0 deletions