aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-09-21 22:42:52 +0000
committerDaniel Jacobowitz <drow@false.org>2007-09-21 22:42:52 +0000
commita75cf6c00c7fa148bac62215972e1958077754e1 (patch)
treeb0120906aa9a8c7c811ac84dedd0fd80d33b3f47 /gdb/testsuite
parenta967d2b76a027931a5bfea1d735eef8c93b386a6 (diff)
downloadgdb-a75cf6c00c7fa148bac62215972e1958077754e1.zip
gdb-a75cf6c00c7fa148bac62215972e1958077754e1.tar.gz
gdb-a75cf6c00c7fa148bac62215972e1958077754e1.tar.bz2
* gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/sepdebug.exp5
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 491124a..1f6ac58 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.base/sepdebug.exp b/gdb/testsuite/gdb.base/sepdebug.exp
index e5498eb..dd68887 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
}