From: Daniel Jacobowitz Date: Fri, 21 Sep 2007 22:42:52 +0000 (+0000) Subject: * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a75cf6c00c7fa148bac62215972e1958077754e1;p=binutils-gdb.git * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 491124ac08a..1f6ac589297 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-09-21 Daniel Jacobowitz + + * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix. + 2007-09-17 Daniel Jacobowitz * schedlock.c (NUM): Change to 1. diff --git a/gdb/testsuite/gdb.base/sepdebug.exp b/gdb/testsuite/gdb.base/sepdebug.exp index e5498eb26ef..dd68887a257 100644 --- a/gdb/testsuite/gdb.base/sepdebug.exp +++ b/gdb/testsuite/gdb.base/sepdebug.exp @@ -836,7 +836,8 @@ proc test_different_dir {type test_different_dir xfail} { global pf_prefix global bp_location6 decimal hex - set pf_prefix "$type:" + set old_pf_prefix $pf_prefix + append pf_prefix " $type:" gdb_exit gdb_start @@ -937,7 +938,7 @@ proc test_different_dir {type test_different_dir xfail} { gdb_expect -re ".*$gdb_prompt $" {} } - unset pf_prefix + set pf_prefix $old_pf_prefix # proc test_different_dir }