| OLD | NEW |
| 1 # Copyright 2008-2012 Free Software Foundation, Inc. | 1 # Copyright 2008-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 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 | 24 |
| 25 load_lib mi-support.exp | 25 load_lib mi-support.exp |
| 26 set MIFLAGS "-i=mi" | 26 set MIFLAGS "-i=mi" |
| 27 | 27 |
| 28 gdb_exit | 28 gdb_exit |
| 29 if [mi_gdb_start] { | 29 if [mi_gdb_start] { |
| 30 continue | 30 continue |
| 31 } | 31 } |
| 32 | 32 |
| 33 set testfile "basics" | 33 standard_testfile basics.c |
| 34 set srcfile ${testfile}.c | 34 |
| 35 set binfile ${objdir}/${subdir}/${testfile} | 35 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
ug}] != "" } { |
| 36 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
ug additional_flags=-DFAKEARGV}] != "" } { | |
| 37 untested mi-regs.exp | 36 untested mi-regs.exp |
| 38 return -1 | 37 return -1 |
| 39 } | 38 } |
| 40 | 39 |
| 41 proc register_tests_no_exec { } { | 40 proc register_tests_no_exec { } { |
| 42 # Test the generic IDT chip. | 41 # Test the generic IDT chip. |
| 43 mi_gdb_test "111-data-list-register-values" \ | 42 mi_gdb_test "111-data-list-register-values" \ |
| 44 ".*111\\^error,msg=\"-data-list-register-values: Usage: -data-li
st-register-values <format> \\\[<regnum1>...<regnumN>\\\]\"" \ | 43 ".*111\\^error,msg=\"-data-list-register-values: Usage: -data-li
st-register-values <format> \\\[<regnum1>...<regnumN>\\\]\"" \ |
| 45 "wrong arguments" | 44 "wrong arguments" |
| 46 | 45 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 76 "666\\^done,register-values=\\\[\{number=\"0\",value=\"$binary\"\}.*
\\\]" \ | 75 "666\\^done,register-values=\\\[\{number=\"0\",value=\"$binary\"\}.*
\\\]" \ |
| 77 "register values t" | 76 "register values t" |
| 78 } | 77 } |
| 79 | 78 |
| 80 register_tests_no_exec | 79 register_tests_no_exec |
| 81 mi_run_to_main | 80 mi_run_to_main |
| 82 register_tests | 81 register_tests |
| 83 | 82 |
| 84 mi_gdb_exit | 83 mi_gdb_exit |
| 85 return 0 | 84 return 0 |
| OLD | NEW |