| OLD | NEW |
| 1 # Copyright 2000-2002, 2004-2005, 2007-2012 Free Software Foundation, | 1 # Copyright 2000-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 Loading... |
| 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 "mi-stack" | 34 standard_testfile |
| 35 set srcfile ${testfile}.c | 35 |
| 36 set binfile ${objdir}/${subdir}/${testfile} | 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-stack.exp | 37 untested mi-stack.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 proc test_stack_frame_listing {} { | 46 proc test_stack_frame_listing {} { |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 | 202 |
| 204 mi_runto callee4 | 203 mi_runto callee4 |
| 205 test_stack_frame_listing | 204 test_stack_frame_listing |
| 206 test_stack_args_listing | 205 test_stack_args_listing |
| 207 test_stack_locals_listing | 206 test_stack_locals_listing |
| 208 test_stack_info_depth | 207 test_stack_info_depth |
| 209 | 208 |
| 210 | 209 |
| 211 mi_gdb_exit | 210 mi_gdb_exit |
| 212 return 0 | 211 return 0 |
| OLD | NEW |