aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2010-08-18 02:30:07 +0000
committerYao Qi <yao@codesourcery.com>2010-08-18 02:30:07 +0000
commit96e254033d3647061f9a02d40b21a1c60ea7cb78 (patch)
treeb3f03e73d4a6249e28ab63722d26e2cd35fe21ec /gdb
parentf9b42018ba7f5babe893d7cd0e55a53a5701669b (diff)
downloadgdb-96e254033d3647061f9a02d40b21a1c60ea7cb78.zip
gdb-96e254033d3647061f9a02d40b21a1c60ea7cb78.tar.gz
gdb-96e254033d3647061f9a02d40b21a1c60ea7cb78.tar.bz2
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')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.gdb/selftest.exp8
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 4b34dde..d39b524 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/infcall-dlopen.exp: New file.
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
index 1aed252..fc8bccc 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"
}