diff options
author | DJ Delorie <dj@redhat.com> | 2005-04-04 21:00:49 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-04-04 21:00:49 +0000 |
commit | 6e933b471601ea3c21b02d3d377e416420fc56a8 (patch) | |
tree | 977f19ad215ec535908961154dbbfca4db7cf8e8 /libiberty/testsuite | |
parent | ae99769bfc1990c35bfd73c7c4ed163cb9a0ad00 (diff) | |
download | gdb-6e933b471601ea3c21b02d3d377e416420fc56a8.zip gdb-6e933b471601ea3c21b02d3d377e416420fc56a8.tar.gz gdb-6e933b471601ea3c21b02d3d377e416420fc56a8.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r-- | libiberty/testsuite/test-pexecute.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libiberty/testsuite/test-pexecute.c b/libiberty/testsuite/test-pexecute.c index c67bcef..dfb5413 100644 --- a/libiberty/testsuite/test-pexecute.c +++ b/libiberty/testsuite/test-pexecute.c @@ -208,11 +208,12 @@ main (int argc, char **argv) do \ { \ int err; \ + const char *pex_run_err; \ if (trace) \ fprintf (stderr, "Line %d: running %s %s\n", \ __LINE__, EXECUTABLE, ARGV[0]); \ - const char *pex_run_err = pex_run (PEXOBJ, FLAGS, EXECUTABLE, \ - ARGV, OUTNAME, ERRNAME, &err); \ + pex_run_err = pex_run (PEXOBJ, FLAGS, EXECUTABLE, ARGV, OUTNAME, \ + ERRNAME, &err); \ if (pex_run_err != NULL) \ FATAL_ERROR (pex_run_err, err); \ } \ |