From: Yao Qi Date: Thu, 26 Aug 2010 08:18:07 +0000 (+0000) Subject: 2010-08-26 Yao Qi X-Git-Tag: gdb_7_2-2010-09-02-release~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5fcd71d5ca5f1f077f8a341d64be7222aa3c5909;p=thirdparty%2Fbinutils-gdb.git 2010-08-26 Yao Qi * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case to reflect latest c source file. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 71cb96d3e29..e9808a0589f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-08-26 Yao Qi + + * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case + to reflect latest c source file. + 2010-08-19 Thiago Jung Bauermann * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec 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" }