GDB (API)
|
00001 /* XML target description support for GDB. 00002 00003 Copyright (C) 2006-2013 Free Software Foundation, Inc. 00004 00005 Contributed by CodeSourcery. 00006 00007 This file is part of GDB. 00008 00009 This program is free software; you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation; either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00021 00022 struct target_ops; 00023 struct target_desc; 00024 00025 /* Read an XML target description from FILENAME. Parse it, and return 00026 the parsed description. */ 00027 00028 const struct target_desc *file_read_description_xml (const char *filename); 00029 00030 /* Read an XML target description using OPS. Parse it, and return the 00031 parsed description. */ 00032 00033 const struct target_desc *target_read_description_xml (struct target_ops *);