| OLD | NEW |
| 1 # Copyright 1999-2003, 2005, 2007-2012 Free Software Foundation, Inc. | 1 # Copyright 1999-2003, 2005, 2007-2012 Free Software Foundation, Inc. |
| 2 | 2 |
| 3 # This program is free software; you can redistribute it and/or modify | 3 # This program is free software; you can redistribute it and/or modify |
| 4 # it under the terms of the GNU General Public License as published by | 4 # it under the terms of the GNU General Public License as published by |
| 5 # the Free Software Foundation; either version 3 of the License, or | 5 # the Free Software Foundation; either version 3 of the License, or |
| 6 # (at your option) any later version. | 6 # (at your option) any later version. |
| 7 # | 7 # |
| 8 # This program is distributed in the hope that it will be useful, | 8 # This program is distributed in the hope that it will be useful, |
| 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 # | 26 # |
| 27 | 27 |
| 28 load_lib mi-support.exp | 28 load_lib mi-support.exp |
| 29 set MIFLAGS "-i=mi" | 29 set MIFLAGS "-i=mi" |
| 30 | 30 |
| 31 gdb_exit | 31 gdb_exit |
| 32 if [mi_gdb_start separate-inferior-tty] { | 32 if [mi_gdb_start separate-inferior-tty] { |
| 33 continue | 33 continue |
| 34 } | 34 } |
| 35 | 35 |
| 36 set testfile "basics" | 36 standard_testfile basics.c |
| 37 set srcfile ${testfile}.c | |
| 38 set binfile ${objdir}/${subdir}/mi-basics | |
| 39 set escapedobjdir [string_to_regexp ${objdir}] | 37 set escapedobjdir [string_to_regexp ${objdir}] |
| 40 set envirodir [string_to_regexp ${objdir}/${subdir}] | 38 set envirodir [string_to_regexp ${objdir}/${subdir}] |
| 41 | 39 |
| 42 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
ug additional_flags=-DFAKEARGV}] != "" } { | 40 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
ug}] != "" } { |
| 43 untested mi-basics.exp | 41 untested mi-basics.exp |
| 44 return -1 | 42 return -1 |
| 45 } | 43 } |
| 46 | 44 |
| 47 # In this file we want to test if the operations needed by the following | 45 # In this file we want to test if the operations needed by the following |
| 48 # procedures work, so it makes no sense using them here. | 46 # procedures work, so it makes no sense using them here. |
| 49 | 47 |
| 50 # mi_delete_breakpoints | 48 # mi_delete_breakpoints |
| 51 # mi_gdb_reinitialize_dir $srcdir/$subdir | 49 # mi_gdb_reinitialize_dir $srcdir/$subdir |
| 52 # mi_gdb_load ${binfile} | 50 # mi_gdb_load ${binfile} |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 && [test_exec_and_symbol_mi_operatons] } { | 256 && [test_exec_and_symbol_mi_operatons] } { |
| 259 test_breakpoints_deletion | 257 test_breakpoints_deletion |
| 260 test_dir_specification | 258 test_dir_specification |
| 261 test_cwd_specification | 259 test_cwd_specification |
| 262 test_path_specification | 260 test_path_specification |
| 263 test_setshow_inferior_tty | 261 test_setshow_inferior_tty |
| 264 } | 262 } |
| 265 | 263 |
| 266 mi_gdb_exit | 264 mi_gdb_exit |
| 267 return 0 | 265 return 0 |
| OLD | NEW |