* gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
authorDaniel Jacobowitz <drow@false.org>
Fri, 21 Sep 2007 22:42:52 +0000 (22:42 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 21 Sep 2007 22:42:52 +0000 (22:42 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/sepdebug.exp

index 491124ac08a915b97efc8f0bde4f62e66e5e1092..1f6ac5892976638cad235279e6fcebf14a9d8aa5 100644 (file)
@@ -1,3 +1,7 @@
+2007-09-21  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
+
 2007-09-17  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * schedlock.c (NUM): Change to 1.
index e5498eb26efd483e87a6d1b30efa52f4718b6c60..dd68887a257c15ab41bb9b5707eefe340837f735 100644 (file)
@@ -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
 }