| OLD | NEW |
| 1 /* This test script is part of GDB, the GNU debugger. | 1 /* This test script is part of GDB, the GNU debugger. |
| 2 | 2 |
| 3 Copyright 1999, 2004, 2007-2012 Free Software Foundation, Inc. | 3 Copyright 1999, 2004, 2007-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 22 matching lines...) Expand all Loading... |
| 33 short *&rps = ps; | 33 short *&rps = ps; |
| 34 short as[4]; | 34 short as[4]; |
| 35 short (&ras)[4] = as; | 35 short (&ras)[4] = as; |
| 36 s = -1; | 36 s = -1; |
| 37 ps = &s; | 37 ps = &s; |
| 38 as[0] = 0; | 38 as[0] = 0; |
| 39 as[1] = 1; | 39 as[1] = 1; |
| 40 as[2] = 2; | 40 as[2] = 2; |
| 41 as[3] = 3; | 41 as[3] = 3; |
| 42 | 42 |
| 43 #ifdef usestubs | |
| 44 set_debug_traps(); | |
| 45 breakpoint(); | |
| 46 #endif | |
| 47 marker1(); | 43 marker1(); |
| 48 | 44 |
| 49 main2(); | 45 main2(); |
| 50 | 46 |
| 51 return 0; | 47 return 0; |
| 52 } | 48 } |
| 53 | 49 |
| 54 int f() | 50 int f() |
| 55 { | 51 { |
| 56 int f1; | 52 int f1; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 UI = 1002; | 84 UI = 1002; |
| 89 L = -234; | 85 L = -234; |
| 90 UL = 234; | 86 UL = 234; |
| 91 F = 1.25E10; | 87 F = 1.25E10; |
| 92 D = -1.375E-123; | 88 D = -1.375E-123; |
| 93 I = f(); | 89 I = f(); |
| 94 | 90 |
| 95 return 0; | 91 return 0; |
| 96 | 92 |
| 97 } | 93 } |
| OLD | NEW |