summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.gdb
diff options
context:
space:
mode:
authorqiyao <qiyao>2010-08-18 02:30:07 +0000
committerqiyao <qiyao>2010-08-18 02:30:07 +0000
commitc82ada6043ef5bb264e314a3e140da8ac7210156 (patch)
tree68a2595668ae1fcd262dcd0292b8c27220d6d589 /gdb/testsuite/gdb.gdb
parentd8ab61e63785e8c999a8ca6f5b1f7e4de155cbff (diff)
downloadgdb-c82ada6043ef5bb264e314a3e140da8ac7210156.tar.gz
2010-08-18 Yao Qi <yao@codesourcery.com>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case to reflect latest c source file.
Diffstat (limited to 'gdb/testsuite/gdb.gdb')
-rw-r--r--gdb/testsuite/gdb.gdb/selftest.exp8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
index 1aed2524c4d..fc8bccc0cde 100644
--- a/gdb/testsuite/gdb.gdb/selftest.exp
+++ b/gdb/testsuite/gdb.gdb/selftest.exp
@@ -185,11 +185,15 @@ proc do_steps_and_nexts {} {
set description "step over instream initialization"
set command "step"
}
- -re ".*getcwd .gdb_dirbuf, sizeof .gdb_dirbuf..;.*$gdb_prompt $" {
+ -re ".*getcwd .gdb_dirbuf, sizeof .gdb_dirbuf.*$gdb_prompt $" {
set description "next over getcwd"
set command "next"
}
- -re ".*quit_flag = 0.*$gdb_prompt $" {
+ -re ".*gdb_program_name = xstrdup.*$gdb_prompt $" {
+ set description "next over xstrdup"
+ set command "next"
+ }
+ -re ".*quit_flag = 0.*$gdb_prompt $" {
set description "step over quit_flag initialization"
set command "step"
}