| OLD | NEW |
| 1 /* This testcase is part of GDB, the GNU debugger. | 1 /* This testcase is part of GDB, the GNU debugger. |
| 2 | 2 |
| 3 Copyright 2008-2012 Free Software Foundation, Inc. | 3 Copyright 2008-2012 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 This program is free software; you can redistribute it and/or modify | 5 This program is free software; you can redistribute it and/or modify |
| 6 it under the terms of the GNU General Public License as published by | 6 it under the terms of the GNU General Public License as published by |
| 7 the Free Software Foundation; either version 3 of the License, or | 7 the Free Software Foundation; either version 3 of the License, or |
| 8 (at your option) any later version. | 8 (at your option) any later version. |
| 9 | 9 |
| 10 This program is distributed in the hope that it will be useful, | 10 This program is distributed in the hope that it will be useful, |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 void | 132 void |
| 133 func4 () | 133 func4 () |
| 134 { | 134 { |
| 135 buf[0] = 3; | 135 buf[0] = 3; |
| 136 global_ptr = buf; | 136 global_ptr = buf; |
| 137 buf[0] = 7; | 137 buf[0] = 7; |
| 138 } | 138 } |
| 139 | 139 |
| 140 int main () | 140 int main () |
| 141 { | 141 { |
| 142 #ifdef usestubs | |
| 143 set_debug_traps(); | |
| 144 breakpoint(); | |
| 145 #endif | |
| 146 struct1.val = 1; | 142 struct1.val = 1; |
| 147 struct2.val = 2; | 143 struct2.val = 2; |
| 148 ptr1 = &struct1; | 144 ptr1 = &struct1; |
| 149 ptr2 = &struct2; | 145 ptr2 = &struct2; |
| 150 marker1 (); | 146 marker1 (); |
| 151 func1 (); | 147 func1 (); |
| 152 for (count = 0; count < 4; count++) { | 148 for (count = 0; count < 4; count++) { |
| 153 ival1 = count; | 149 ival1 = count; |
| 154 ival3 = count; ival4 = count; | 150 ival3 = count; ival4 = count; |
| 155 } | 151 } |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 | 206 |
| 211 marker6 (); | 207 marker6 (); |
| 212 | 208 |
| 213 func3 (); | 209 func3 (); |
| 214 | 210 |
| 215 func4 (); | 211 func4 (); |
| 216 | 212 |
| 217 return 0; | 213 return 0; |
| 218 } /* end of main */ | 214 } /* end of main */ |
| 219 | 215 |
| OLD | NEW |