Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: gdb/testsuite/gdb.base/step-test.exp

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/testsuite/gdb.base/step-symless.exp ('k') | gdb/testsuite/gdb.base/store.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This testcase is part of GDB, the GNU debugger. 1 # This testcase is part of GDB, the GNU debugger.
2 2
3 # Copyright 1997-2000, 2002, 2001, 2003-2004, 2007-2012 Free Software 3 # Copyright 1997-2000, 2002, 2001, 2003-2004, 2007-2012 Free Software
4 # Foundation, Inc. 4 # Foundation, Inc.
5 5
6 # This program is free software; you can redistribute it and/or modify 6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by 7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or 8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version. 9 # (at your option) any later version.
10 # 10 #
11 # This program is distributed in the hope that it will be useful, 11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details. 14 # GNU General Public License for more details.
15 # 15 #
16 # You should have received a copy of the GNU General Public License 16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. */ 17 # along with this program. If not, see <http://www.gnu.org/licenses/>. */
18 # step-test.exp -- Expect script to test stepping in gdb 18 # step-test.exp -- Expect script to test stepping in gdb
19 19
20 if $tracelevel then {
21 strace $tracelevel
22 }
23
24 set testfile step-test 20 set testfile step-test
25 set srcfile ${testfile}.c 21 set srcfile ${testfile}.c
26 set binfile ${objdir}/${subdir}/${testfile} 22 set binfile ${objdir}/${subdir}/${testfile}
27 23
28 remote_exec build "rm -f ${binfile}" 24 remote_exec build "rm -f ${binfile}"
29 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debu g}] != "" } { 25 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debu g}] != "" } {
30 untested step-test.exp 26 untested step-test.exp
31 return -1 27 return -1
32 } 28 }
33 29
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 -re ".*(memcpy|bcopy).*$gdb_prompt $" { 204 -re ".*(memcpy|bcopy).*$gdb_prompt $" {
209 send_gdb "finish\n" ; gdb_expect -re "$gdb_prompt $" 205 send_gdb "finish\n" ; gdb_expect -re "$gdb_prompt $"
210 send_gdb "step\n" 206 send_gdb "step\n"
211 exp_continue 207 exp_continue
212 } 208 }
213 } 209 }
214 210
215 gdb_continue_to_end "step-test.exp" 211 gdb_continue_to_end "step-test.exp"
216 212
217 return 0 213 return 0
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.base/step-symless.exp ('k') | gdb/testsuite/gdb.base/store.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698