| OLD | NEW |
| 1 # Tests for reference types with short type variables in GDB. | 1 # Tests for reference types with short type variables in GDB. |
| 2 # Copyright 1998-2000, 2004, 2007-2012 Free Software Foundation, Inc. | 2 # Copyright 1998-2013 Free Software Foundation, Inc. |
| 3 | 3 |
| 4 # This program is free software; you can redistribute it and/or modify | 4 # This program is free software; you can redistribute it and/or modify |
| 5 # it under the terms of the GNU General Public License as published by | 5 # it under the terms of the GNU General Public License as published by |
| 6 # the Free Software Foundation; either version 3 of the License, or | 6 # the Free Software Foundation; either version 3 of the License, or |
| 7 # (at your option) any later version. | 7 # (at your option) any later version. |
| 8 # | 8 # |
| 9 # This program is distributed in the hope that it will be useful, | 9 # This program is distributed in the hope that it will be useful, |
| 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 # GNU General Public License for more details. | 12 # GNU General Public License for more details. |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 } | 263 } |
| 264 | 264 |
| 265 gdb_test "print rF" \ | 265 gdb_test "print rF" \ |
| 266 ".\[0-9\]* = \\(float &\\) @$hex: 1.2\[0-9\]*e\\+0?10.*" \ | 266 ".\[0-9\]* = \\(float &\\) @$hex: 1.2\[0-9\]*e\\+0?10.*" \ |
| 267 "print value of rF" | 267 "print value of rF" |
| 268 | 268 |
| 269 gdb_test "print rD" \ | 269 gdb_test "print rD" \ |
| 270 ".\[0-9\]* = \\(double &\\) @$hex: -1.375e-123.*" \ | 270 ".\[0-9\]* = \\(double &\\) @$hex: -1.375e-123.*" \ |
| 271 "print value of rD" | 271 "print value of rD" |
| 272 | 272 |
| OLD | NEW |