1*5796c8dcSSimon Schubert /* XML target description support for GDB. 2*5796c8dcSSimon Schubert 3*5796c8dcSSimon Schubert Copyright (C) 2006, 2008, 2009 Free Software Foundation, Inc. 4*5796c8dcSSimon Schubert 5*5796c8dcSSimon Schubert Contributed by CodeSourcery. 6*5796c8dcSSimon Schubert 7*5796c8dcSSimon Schubert This file is part of GDB. 8*5796c8dcSSimon Schubert 9*5796c8dcSSimon Schubert This program is free software; you can redistribute it and/or modify 10*5796c8dcSSimon Schubert it under the terms of the GNU General Public License as published by 11*5796c8dcSSimon Schubert the Free Software Foundation; either version 3 of the License, or 12*5796c8dcSSimon Schubert (at your option) any later version. 13*5796c8dcSSimon Schubert 14*5796c8dcSSimon Schubert This program is distributed in the hope that it will be useful, 15*5796c8dcSSimon Schubert but WITHOUT ANY WARRANTY; without even the implied warranty of 16*5796c8dcSSimon Schubert MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17*5796c8dcSSimon Schubert GNU General Public License for more details. 18*5796c8dcSSimon Schubert 19*5796c8dcSSimon Schubert You should have received a copy of the GNU General Public License 20*5796c8dcSSimon Schubert along with this program. If not, see <http://www.gnu.org/licenses/>. */ 21*5796c8dcSSimon Schubert 22*5796c8dcSSimon Schubert struct target_ops; 23*5796c8dcSSimon Schubert struct target_desc; 24*5796c8dcSSimon Schubert 25*5796c8dcSSimon Schubert /* Read an XML target description from FILENAME. Parse it, and return 26*5796c8dcSSimon Schubert the parsed description. */ 27*5796c8dcSSimon Schubert 28*5796c8dcSSimon Schubert const struct target_desc *file_read_description_xml (const char *filename); 29*5796c8dcSSimon Schubert 30*5796c8dcSSimon Schubert /* Read an XML target description using OPS. Parse it, and return the 31*5796c8dcSSimon Schubert parsed description. */ 32*5796c8dcSSimon Schubert 33*5796c8dcSSimon Schubert const struct target_desc *target_read_description_xml (struct target_ops *); 34