OLD | NEW |
1 /* The common simulator framework for GDB, the GNU Debugger. | 1 /* The common simulator framework for GDB, the GNU Debugger. |
2 | 2 |
3 Copyright 2002, 2007-2012 Free Software Foundation, Inc. | 3 Copyright 2002-2013 Free Software Foundation, Inc. |
4 | 4 |
5 Contributed by Andrew Cagney and Red Hat. | 5 Contributed by Andrew Cagney and Red Hat. |
6 | 6 |
7 This file is part of GDB. | 7 This file is part of GDB. |
8 | 8 |
9 This program is free software; you can redistribute it and/or modify | 9 This program is free software; you can redistribute it and/or modify |
10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
11 the Free Software Foundation; either version 3 of the License, or | 11 the Free Software Foundation; either version 3 of the License, or |
12 (at your option) any later version. | 12 (at your option) any later version. |
13 | 13 |
(...skipping 1337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1351 { | 1351 { |
1352 name_specifier spec; | 1352 name_specifier spec; |
1353 if (!split_property_specifier (root, path_to_property, &spec)) | 1353 if (!split_property_specifier (root, path_to_property, &spec)) |
1354 hw_abort (root, "Invalid property path %s", path_to_property); | 1354 hw_abort (root, "Invalid property path %s", path_to_property); |
1355 root = split_find_device (root, &spec); | 1355 root = split_find_device (root, &spec); |
1356 if (spec.name != NULL) | 1356 if (spec.name != NULL) |
1357 hw_abort (root, "device \"%s\" not found (property \"%s\")", | 1357 hw_abort (root, "device \"%s\" not found (property \"%s\")", |
1358 spec.name, path_to_property); | 1358 spec.name, path_to_property); |
1359 return hw_find_string_property (root, spec.property); | 1359 return hw_find_string_property (root, spec.property); |
1360 } | 1360 } |
OLD | NEW |