fix multi-arch-exec for parallel mode
authorTom Tromey <tromey@redhat.com>
Wed, 13 Nov 2013 17:01:25 +0000 (10:01 -0700)
committerTom Tromey <tromey@redhat.com>
Wed, 13 Nov 2013 17:01:25 +0000 (10:01 -0700)
commit08c430507d34f825eaba019feb957de5bf876bad
tree82b12978d45daecc6d612261db58a5a0c2a4ce30
parentda0781dc5ffa0fdbec8d7fa65b053e3ef5a7997e
fix multi-arch-exec for parallel mode

I noticed today that multi-arch-exec.exp was failing in parallel mode.

The bug is that multi-arch-exec.c assumes the non-parallel directory
layout.

This patch fixes the problem using the same "BASEDIR" approach used in
other tests.

Tested both ways on x86-64 Fedora 18.
I'm checking this in.

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

* gdb.multi/multi-arch-exec.exp: Define BASEDIR when compiling.
* gdb.multi/multi-arch-exec.c (main): Use BASEDIR.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.multi/multi-arch-exec.c
gdb/testsuite/gdb.multi/multi-arch-exec.exp