OLD | NEW |
1 # Copyright (C) 2011-2012 Free Software Foundation, Inc. | 1 # Copyright (C) 2011-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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 # Delete all breakpoints so that the "runto_main" breakpoint above | 59 # Delete all breakpoints so that the "runto_main" breakpoint above |
60 # does not interfere with our testing. | 60 # does not interfere with our testing. |
61 delete_breakpoints | 61 delete_breakpoints |
62 | 62 |
63 # ... and restore the breakpoints. | 63 # ... and restore the breakpoints. |
64 gdb_test "source bps" | 64 gdb_test "source bps" |
65 | 65 |
66 # Now, verify that all breakpoints have been created correctly... | 66 # Now, verify that all breakpoints have been created correctly... |
67 set bp_row_start "\[0-9\]+ +breakpoint +keep +y +0x\[0-9a-f\]+ +in" | 67 set bp_row_start "\[0-9\]+ +breakpoint +keep +y +0x\[0-9a-f\]+ +in" |
68 gdb_test "info break" \ | 68 gdb_test "info break" \ |
69 " *Num +Type +Disp +Enb +Address +What\r\n$bp_row_start break_me at .*$srcfile
:\[0-9\]+\r\n$bp_row_start main at .*$srcfile:$loc_bp2\r\n$bp_row_start main at
.*$srcfile:$loc_bp3 +thread 1\r\n\[ \t]+stop only in thread 1\r\n$bp_row_start m
ain at .*$srcfile:$loc_bp4\r\n\[ \t\]+stop only if i == 1\r\n$bp_row_start main
at .*$srcfile:$loc_bp5\r\n\[ \t\]+silent" | 69 " *Num +Type +Disp +Enb +Address +What\r\n$bp_row_start break_me at .*$srcfile
:\[0-9\]+\r\n$bp_row_start main at .*$srcfile:$loc_bp2\r\n$bp_row_start main at
.*$srcfile:$loc_bp3 +thread 1\r\n\[ \t]+stop only in thread 1\r\n$bp_row_start m
ain at .*$srcfile:$loc_bp4\r\n\[ \t\]+stop only if i == 1( \\((host|target) eval
s\\))?\r\n$bp_row_start main at .*$srcfile:$loc_bp5\r\n\[ \t\]+silent" |
OLD | NEW |