| OLD | NEW |
| 1 # Copyright 1999-2002, 2004, 2007-2012 Free Software Foundation, Inc. | 1 # Copyright 1999-2013 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 |
| 11 # GNU General Public License for more details. | 11 # GNU General Public License for more details. |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 mi_create_breakpoint "basics.c:callee2" 2 keep callee2 ".*basics.c" $line_ca
llee2_body $hex \ | 72 mi_create_breakpoint "basics.c:callee2" 2 keep callee2 ".*basics.c" $line_ca
llee2_body $hex \ |
| 73 "insert breakpoint at basics.c:callee2" | 73 "insert breakpoint at basics.c:callee2" |
| 74 | 74 |
| 75 mi_create_breakpoint "basics.c:$line_callee3_head" 3 keep callee3 ".*basics.
c" $line_callee3_head $hex \ | 75 mi_create_breakpoint "basics.c:$line_callee3_head" 3 keep callee3 ".*basics.
c" $line_callee3_head $hex \ |
| 76 "insert breakpoint at basics.c:\$line_callee3_head" | 76 "insert breakpoint at basics.c:\$line_callee3_head" |
| 77 | 77 |
| 78 mi_create_breakpoint "\"\\\"${srcfile}\\\":$line_callee4_head\"" 4 keep call
ee4 ".*basics.c" $line_callee4_head $hex \ | 78 mi_create_breakpoint "\"\\\"${srcfile}\\\":$line_callee4_head\"" 4 keep call
ee4 ".*basics.c" $line_callee4_head $hex \ |
| 79 "insert breakpoint at \"<fullfilename>\":\$line_callee4_head" | 79 "insert breakpoint at \"<fullfilename>\":\$line_callee4_head" |
| 80 | 80 |
| 81 mi_gdb_test "204-break-list" \ | 81 mi_gdb_test "204-break-list" \ |
| 82 » "204\\^done,BreakpointTable=\{.*,hdr=\\\[.*\\\],body=\\\[bkpt=\{numb
er=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"$hex\",func=\"ma
in\",file=\".*basics.c\",line=\"$line_main_body\",times=\"0\",original-location=
\".*\"\},.*\}\\\]\}" \ | 82 » "204\\^done,BreakpointTable=\{.*,hdr=\\\[.*\\\],body=\\\[bkpt=\{numb
er=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"$hex\",func=\"ma
in\",file=\".*basics.c\",line=\"$line_main_body\",thread-groups=\\\[\"i1\"\\\],t
imes=\"0\",original-location=\".*\"\},.*\}\\\]\}" \ |
| 83 "list of breakpoints" | 83 "list of breakpoints" |
| 84 | 84 |
| 85 mi_gdb_test "205-break-disable 2 3 4" \ | 85 mi_gdb_test "205-break-disable 2 3 4" \ |
| 86 "205\\^done.*" \ | 86 "205\\^done.*" \ |
| 87 "disabling of breakpoints" | 87 "disabling of breakpoints" |
| 88 | 88 |
| 89 mi_gdb_test "206-break-info 2" \ | 89 mi_gdb_test "206-break-info 2" \ |
| 90 "206\\^done,BreakpointTable=\{.*,hdr=\\\[.*\\\],body=\\\[bkpt=\{numb
er=\"2\",.*,enabled=\"n\",.*\}\\\]\}" \ | 90 "206\\^done,BreakpointTable=\{.*,hdr=\\\[.*\\\],body=\\\[bkpt=\{numb
er=\"2\",.*,enabled=\"n\",.*\}\\\]\}" \ |
| 91 "list of breakpoints, 16 disabled" | 91 "list of breakpoints, 16 disabled" |
| 92 } | 92 } |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 } | 180 } |
| 181 | 181 |
| 182 test_breakpoints_creation_and_listing | 182 test_breakpoints_creation_and_listing |
| 183 test_running_the_program | 183 test_running_the_program |
| 184 test_controlled_execution | 184 test_controlled_execution |
| 185 test_controlling_breakpoints | 185 test_controlling_breakpoints |
| 186 test_program_termination | 186 test_program_termination |
| 187 | 187 |
| 188 mi_gdb_exit | 188 mi_gdb_exit |
| 189 return 0 | 189 return 0 |
| OLD | NEW |