fix some fission tests
authorTom Tromey <tromey@redhat.com>
Fri, 18 Oct 2013 20:25:06 +0000 (14:25 -0600)
committerTom Tromey <tromey@redhat.com>
Mon, 4 Nov 2013 18:02:11 +0000 (11:02 -0700)
commitc63ffa1f25779407c89bc5d3dc1be16afe521819
tree3b3fceea7804b528deea327e7907a89df5336752
parent3fef966c5ff1b0f6031e31117547e901fedb08c4
fix some fission tests

A couple of Fission tests rely on the current directory layout.  This
assumption is not valid in parallel mode.

This patch fixes the problem by removing the relative directory from
the .S files and instead having the tests set debug-file-directory
before opening the main file.

2013-11-04  Tom Tromey  <tromey@redhat.com>

* gdb.dwarf2/fission-base.S: Remove "gdb.dwarf/".
* gdb.dwarf2/fission-base.exp: Set debug-file-directory
before loading binfile.
* gdb.dwarf2/fission-loclists.S: Remove "gdb.dwarf/".
* gdb.dwarf2/fission-loclists.exp: Set debug-file-directory
before loading binfile.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/fission-base.S
gdb/testsuite/gdb.dwarf2/fission-base.exp
gdb/testsuite/gdb.dwarf2/fission-loclists.S
gdb/testsuite/gdb.dwarf2/fission-loclists.exp