OLD | NEW |
1 # Copyright 2010-2012 Free Software Foundation, Inc. | 1 # Copyright 2010-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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 gdb_test "print char_array" " = '23456789'" | 44 gdb_test "print char_array" " = '23456789'" |
45 gdb_test "print /d char_array" { = \{50, 51, 52, 53, 54, 55, 56, 57\}} | 45 gdb_test "print /d char_array" { = \{50, 51, 52, 53, 54, 55, 56, 57\}} |
46 gdb_test "print /x char_array" { = \{0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0
x39\}} | 46 gdb_test "print /x char_array" { = \{0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0
x39\}} |
47 # Use next two times to avoid GPC line numbering problem | 47 # Use next two times to avoid GPC line numbering problem |
48 gdb_test "next" "" | 48 gdb_test "next" "" |
49 gdb_test "next" "" | 49 gdb_test "next" "" |
50 gdb_test "print char_array" " = '2345X789'" | 50 gdb_test "print char_array" " = '2345X789'" |
51 gdb_exit | 51 gdb_exit |
52 | 52 |
OLD | NEW |