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

Side by Side Diff: gdb/testsuite/gdb.mi/mi-return.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.mi/mi-regs.exp ('k') | gdb/testsuite/gdb.mi/mi-reverse.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 # Copyright 1999-2002, 2004-2005, 2007-2012 Free Software Foundation, 1 # Copyright 1999-2002, 2004-2005, 2007-2012 Free Software Foundation,
2 # Inc. 2 # Inc.
3 3
4 # This program is free software; you can redistribute it and/or modify 4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by 5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or 6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version. 7 # (at your option) any later version.
8 # 8 #
9 # This program is distributed in the hope that it will be useful, 9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 13 matching lines...) Expand all
24 # 24 #
25 25
26 load_lib mi-support.exp 26 load_lib mi-support.exp
27 set MIFLAGS "-i=mi" 27 set MIFLAGS "-i=mi"
28 28
29 gdb_exit 29 gdb_exit
30 if [mi_gdb_start] { 30 if [mi_gdb_start] {
31 continue 31 continue
32 } 32 }
33 33
34 set testfile "basics" 34 standard_testfile basics.c
35 set srcfile ${testfile}.c 35
36 set binfile ${objdir}/${subdir}/mi-return 36 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb ug}] != "" } {
37 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb ug additional_flags=-DFAKEARGV}] != "" } {
38 untested mi-return.exp 37 untested mi-return.exp
39 return -1 38 return -1
40 } 39 }
41 40
42 mi_delete_breakpoints 41 mi_delete_breakpoints
43 mi_gdb_reinitialize_dir $srcdir/$subdir 42 mi_gdb_reinitialize_dir $srcdir/$subdir
44 mi_gdb_reinitialize_dir $srcdir/$subdir 43 mi_gdb_reinitialize_dir $srcdir/$subdir
45 mi_gdb_load ${binfile} 44 mi_gdb_load ${binfile}
46 45
47 46
(...skipping 11 matching lines...) Expand all
59 mi_runto callee4 58 mi_runto callee4
60 59
61 mi_gdb_test "205-break-delete" \ 60 mi_gdb_test "205-break-delete" \
62 "205\\^done.*" \ 61 "205\\^done.*" \
63 "delete all breakpoints" 62 "delete all breakpoints"
64 63
65 test_return_simple 64 test_return_simple
66 65
67 mi_gdb_exit 66 mi_gdb_exit
68 return 0 67 return 0
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.mi/mi-regs.exp ('k') | gdb/testsuite/gdb.mi/mi-reverse.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698