]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2010-08-26 Yao Qi <yao@codesourcery.com>
authorYao Qi <yao@codesourcery.com>
Thu, 26 Aug 2010 08:18:07 +0000 (08:18 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 26 Aug 2010 08:18:07 +0000 (08:18 +0000)
* gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
to reflect latest c source file.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.gdb/selftest.exp

index 71cb96d3e29ad783acd15e82169ee1118b810536..e9808a0589f0bd73c2f653b676ad4d78fe1974f2 100644 (file)
@@ -1,3 +1,8 @@
+2010-08-26  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
+       to reflect latest c source file.
+
 2010-08-19  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
        * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
index 1aed2524c4db5c2e5adba5d450204b7c1171947d..fc8bccc0cde22b0487af50e9ee74457aaa13c237 100644 (file)
@@ -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"
            }